summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-01-02 19:48:00 (GMT)
committerBarry Warsaw <barry@python.org>1997-01-02 19:48:00 (GMT)
commit6717030dc939bcff9578ca8144f0963f54022dba (patch)
tree769d3a46fbf963fca3e984a8be2357526763d4fe
parentb02092a9b2606e10a697345f0c0a306515953056 (diff)
downloadcpython-6717030dc939bcff9578ca8144f0963f54022dba.zip
cpython-6717030dc939bcff9578ca8144f0963f54022dba.tar.gz
cpython-6717030dc939bcff9578ca8144f0963f54022dba.tar.bz2
setkey method's argument is no longer optional (it used to be a no-op
when missing).
-rw-r--r--Doc/lib/librotor.tex5
-rw-r--r--Doc/librotor.tex5
2 files changed, 4 insertions, 6 deletions
diff --git a/Doc/lib/librotor.tex b/Doc/lib/librotor.tex
index af2a283..c333686 100644
--- a/Doc/lib/librotor.tex
+++ b/Doc/lib/librotor.tex
@@ -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}
diff --git a/Doc/librotor.tex b/Doc/librotor.tex
index af2a283..c333686 100644
--- a/Doc/librotor.tex
+++ b/Doc/librotor.tex
@@ -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}