]> granicus.if.org Git - python/commitdiff
Signature for dir() omitted the optional argument.
authorFred Drake <fdrake@acm.org>
Thu, 16 Apr 1998 22:10:27 +0000 (22:10 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 16 Apr 1998 22:10:27 +0000 (22:10 +0000)
Doc/lib/libfuncs.tex
Doc/libfuncs.tex

index 4b925c8c3665ab9fa0c902e5c2f2e70682ecac3b..134573464b96182a754bfb3faa15bee3c80ded27 100644 (file)
@@ -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
index 4b925c8c3665ab9fa0c902e5c2f2e70682ecac3b..134573464b96182a754bfb3faa15bee3c80ded27 100644 (file)
@@ -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