]> granicus.if.org Git - python/commitdiff
setkey method's argument is no longer optional (it used to be a no-op
authorBarry Warsaw <barry@python.org>
Thu, 2 Jan 1997 19:48:00 +0000 (19:48 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 2 Jan 1997 19:48:00 +0000 (19:48 +0000)
when missing).

Doc/lib/librotor.tex
Doc/librotor.tex

index af2a283f62fd450ff5f7901e2771ecad805de993..c333686a247837bb35689aa4370602102683a20f 100644 (file)
@@ -35,9 +35,8 @@ if it is omitted, a default value of 6 will be used.
 Rotor objects have the following methods:
 
 \renewcommand{\indexsubitem}{(rotor method)}
-\begin{funcdesc}{setkey}{\optional{key}}
-Sets the rotor's key to \var{key}.  If \var{key} is not given, this
-function does nothing\footnote{This is for backwards compatibility.}.
+\begin{funcdesc}{setkey}{key}
+Sets the rotor's key to \var{key}.
 \end{funcdesc}
 
 \begin{funcdesc}{encrypt}{plaintext}
index af2a283f62fd450ff5f7901e2771ecad805de993..c333686a247837bb35689aa4370602102683a20f 100644 (file)
@@ -35,9 +35,8 @@ if it is omitted, a default value of 6 will be used.
 Rotor objects have the following methods:
 
 \renewcommand{\indexsubitem}{(rotor method)}
-\begin{funcdesc}{setkey}{\optional{key}}
-Sets the rotor's key to \var{key}.  If \var{key} is not given, this
-function does nothing\footnote{This is for backwards compatibility.}.
+\begin{funcdesc}{setkey}{key}
+Sets the rotor's key to \var{key}.
 \end{funcdesc}
 
 \begin{funcdesc}{encrypt}{plaintext}