mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
Small cleanups, and note when zip() entered the menagerie.
This commit is contained in:
parent
b32aa5ecef
commit
e581bb30c4
1 changed files with 1 additions and 3 deletions
|
@ -168,7 +168,6 @@ class instances are callable if they have a \method{__call__()} method.
|
||||||
['sys']
|
['sys']
|
||||||
>>> dir(sys)
|
>>> dir(sys)
|
||||||
['argv', 'exit', 'modules', 'path', 'stderr', 'stdin', 'stdout']
|
['argv', 'exit', 'modules', 'path', 'stderr', 'stdin', 'stdout']
|
||||||
>>>
|
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -515,7 +514,6 @@ one argument, return the smallest of the arguments.
|
||||||
[]
|
[]
|
||||||
>>> range(1, 0)
|
>>> range(1, 0)
|
||||||
[]
|
[]
|
||||||
>>>
|
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
|
@ -530,7 +528,6 @@ one argument, return the smallest of the arguments.
|
||||||
--> Monty Python's Flying Circus
|
--> Monty Python's Flying Circus
|
||||||
>>> s
|
>>> s
|
||||||
"Monty Python's Flying Circus"
|
"Monty Python's Flying Circus"
|
||||||
>>>
|
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
If the \module{readline} module was loaded, then
|
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
|
argument sequence. When the argument sequences are all of the same
|
||||||
length, \function{zip()} is similar to \function{map()} with an
|
length, \function{zip()} is similar to \function{map()} with an
|
||||||
initial argument of \code{None}.
|
initial argument of \code{None}.
|
||||||
|
\versionadded{2.0}
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue