Small cleanups, and note when zip() entered the menagerie.

This commit is contained in:
Fred Drake 2000-08-17 22:30:30 +00:00
parent b32aa5ecef
commit e581bb30c4

View file

@ -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}