summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-16 22:10:27 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-16 22:10:27 (GMT)
commit6b303b4bdd3164408cc35062322bc8d603778c98 (patch)
tree30043e5ea9008ce703fc4b5566b09173a9d72bd3
parentde2f708299662fb1646fb6d16f30361e6c5fd558 (diff)
downloadcpython-6b303b4bdd3164408cc35062322bc8d603778c98.zip
cpython-6b303b4bdd3164408cc35062322bc8d603778c98.tar.gz
cpython-6b303b4bdd3164408cc35062322bc8d603778c98.tar.bz2
Signature for dir() omitted the optional argument.
-rw-r--r--Doc/lib/libfuncs.tex2
-rw-r--r--Doc/libfuncs.tex2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 4b925c8..1345734 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -125,7 +125,7 @@ class instances are callable if they have a \method{__call__()} method.
\code{del \var{x}.\var{foobar}}.
\end{funcdesc}
-\begin{funcdesc}{dir}{}
+\begin{funcdesc}{dir}{\optional{object}}
Without arguments, return the list of names in the current local
symbol table. With an argument, attempts to return a list of valid
attribute for that object. This information is gleaned from the
diff --git a/Doc/libfuncs.tex b/Doc/libfuncs.tex
index 4b925c8..1345734 100644
--- a/Doc/libfuncs.tex
+++ b/Doc/libfuncs.tex
@@ -125,7 +125,7 @@ class instances are callable if they have a \method{__call__()} method.
\code{del \var{x}.\var{foobar}}.
\end{funcdesc}
-\begin{funcdesc}{dir}{}
+\begin{funcdesc}{dir}{\optional{object}}
Without arguments, return the list of names in the current local
symbol table. With an argument, attempts to return a list of valid
attribute for that object. This information is gleaned from the