mirror of https://github.com/python/cpython.git
Small cleanups, and note when zip() entered the menagerie.
This commit is contained in:
parent
b32aa5ecef
commit
e581bb30c4
|
@ -168,7 +168,6 @@ class instances are callable if they have a \method{__call__()} method.
|
|||
['sys']
|
||||
>>> dir(sys)
|
||||
['argv', 'exit', 'modules', 'path', 'stderr', 'stdin', 'stdout']
|
||||
>>>
|
||||
\end{verbatim}
|
||||
\end{funcdesc}
|
||||
|
||||
|
@ -515,7 +514,6 @@ one argument, return the smallest of the arguments.
|
|||
[]
|
||||
>>> range(1, 0)
|
||||
[]
|
||||
>>>
|
||||
\end{verbatim}
|
||||
\end{funcdesc}
|
||||
|
||||
|
@ -530,7 +528,6 @@ one argument, return the smallest of the arguments.
|
|||
--> Monty Python's Flying Circus
|
||||
>>> s
|
||||
"Monty Python's Flying Circus"
|
||||
>>>
|
||||
\end{verbatim}
|
||||
|
||||
If the \module{readline} module was loaded, then
|
||||
|
@ -712,4 +709,5 @@ The returned list is truncated in length to the length of the shortest
|
|||
argument sequence. When the argument sequences are all of the same
|
||||
length, \function{zip()} is similar to \function{map()} with an
|
||||
initial argument of \code{None}.
|
||||
\versionadded{2.0}
|
||||
\end{funcdesc}
|
||||
|
|
Loading…
Reference in New Issue