Signature for dir() omitted the optional argument.

This commit is contained in:
Fred Drake 1998-04-16 22:10:27 +00:00
parent de2f708299
commit 6b303b4bdd
2 changed files with 2 additions and 2 deletions

View 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

View 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