From: Fred Drake Date: Thu, 16 Apr 1998 22:10:27 +0000 (+0000) Subject: Signature for dir() omitted the optional argument. X-Git-Tag: v1.5.2a1~901 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b303b4bdd3164408cc35062322bc8d603778c98;p=python Signature for dir() omitted the optional argument. --- diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex index 4b925c8c36..134573464b 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 4b925c8c36..134573464b 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