Commit 0e516456 authored by Fred Drake's avatar Fred Drake

Signature for dir() omitted the optional argument.

parent e9f8914a
...@@ -125,7 +125,7 @@ class instances are callable if they have a \method{__call__()} method. ...@@ -125,7 +125,7 @@ class instances are callable if they have a \method{__call__()} method.
\code{del \var{x}.\var{foobar}}. \code{del \var{x}.\var{foobar}}.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{dir}{} \begin{funcdesc}{dir}{\optional{object}}
Without arguments, return the list of names in the current local Without arguments, return the list of names in the current local
symbol table. With an argument, attempts to return a list of valid symbol table. With an argument, attempts to return a list of valid
attribute for that object. This information is gleaned from the attribute for that object. This information is gleaned from the
......
...@@ -125,7 +125,7 @@ class instances are callable if they have a \method{__call__()} method. ...@@ -125,7 +125,7 @@ class instances are callable if they have a \method{__call__()} method.
\code{del \var{x}.\var{foobar}}. \code{del \var{x}.\var{foobar}}.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{dir}{} \begin{funcdesc}{dir}{\optional{object}}
Without arguments, return the list of names in the current local Without arguments, return the list of names in the current local
symbol table. With an argument, attempts to return a list of valid symbol table. With an argument, attempts to return a list of valid
attribute for that object. This information is gleaned from the attribute for that object. This information is gleaned from the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment