mirror of https://github.com/python/cpython.git
Signature for dir() omitted the optional argument.
This commit is contained in:
parent
de2f708299
commit
6b303b4bdd
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue