Commit 511a3a81 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Add item

parent e9b1bf47
...@@ -120,7 +120,17 @@ Example: ...@@ -120,7 +120,17 @@ Example:
(Contributed by Raymond Hettinger.) (Contributed by Raymond Hettinger.)
% itertools.islice() now accepts None for the start and step arguments. \item The \function{itertools.islice()} function now accepts
\code{None} for the start and step arguments. This makes it more
compatible with the attributes of slice objects, so that you can now write
the following:
\begin{verbatim}
s = slice(5) # Create slice object
itertools.islice(iterable, s.start, s.stop, s.step)
\end{verbatim}
(Contributed by Raymond Hettinger.)
\item New module: \module{spwd} provides functions for accessing the \item New module: \module{spwd} provides functions for accessing the
shadow password database on systems that support it. shadow password database on systems that support it.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment