summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-01-02 19:48:00 +0000
committerBarry Warsaw <barry@python.org>1997-01-02 19:48:00 +0000
commitf8de1af8d7de5e0bd1811ea94a3ed803212f50b7 (patch)
tree6bfeba9b520a34828cddc2b08ceff95ef728541b /Doc
parent2ace68bbc81b0885fb9bc2575eb3acb2fafce166 (diff)
downloadcpython-f8de1af8d7de5e0bd1811ea94a3ed803212f50b7.tar.gz
setkey method's argument is no longer optional (it used to be a no-op
when missing).
Diffstat (limited to 'Doc')
-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 af2a283f62..c333686a24 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 af2a283f62..c333686a24 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}