Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db7657d

Browse files
committed
Explain popitem()
Add Unixware 7 port Ready for RC1 Minor rewrites
1 parent c993272 commit db7657d

1 file changed

Lines changed: 16 additions & 13 deletions

File tree

Doc/whatsnew/whatsnew21.tex

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,21 @@
55
% $Id$
66

77
\title{What's New in Python 2.1}
8-
\release{0.07}
8+
\release{0.99}
99
\author{A.M. Kuchling}
1010
\authoraddress{\email{[email protected]}}
1111
\begin{document}
1212
\maketitle\tableofcontents
1313

1414
\section{Introduction}
1515

16-
{\large This document is a draft, and is subject to change until
17-
the final version of Python 2.1 is released. Currently it is up to date
18-
for Python 2.1 beta 2. Please send any comments, bug reports, or
19-
questions, no matter how minor, to \email{[email protected]}. }
16+
{\large This document is a draft, and is subject to change until the
17+
final version of Python 2.1 is released. Currently it is up to date
18+
for Python 2.1 release candidate~1. Please send any comments, bug
19+
reports, or questions, no matter how minor, to
20+
2021

21-
It's that time again... time for a new Python release, version 2.1.
22+
It's that time again... time for a new Python release, Python 2.1.
2223
One recent goal of the Python development team has been to accelerate
2324
the pace of new releases, with a new release coming every 6 to 9
2425
months. 2.1 is the first release to come out at this faster pace, with
@@ -36,8 +37,7 @@ \section{Introduction}
3637
Refer to the Python 2.1 documentation, or to the specific PEP, for
3738
more details about any new feature that particularly interests you.
3839

39-
Currently 2.1 is available in a beta release, and the final release is
40-
planned for April 2001.
40+
The final release of Python 2.1 is planned for April 2001.
4141

4242
%======================================================================
4343
\section{PEP 227: Nested Scopes}
@@ -795,14 +795,16 @@ \section{Other Changes and Fixes}
795795
\end{verbatim}
796796
797797
For a fuller discussion of the line I/O changes, see the python-dev
798-
summary for January 1-15, 2001.
798+
summary for January 1-15, 2001 at
799+
\url{http://www.amk.ca/python/dev/2001-01-1.html}.
799800
800801
\item A new method, \method{popitem()}, was added to dictionaries to
801802
enable destructively iterating through the contents of a dictionary;
802-
this can be faster for large dictionaries because XXX.
803+
this can be faster for large dictionaries because there's no need to
804+
construct a list containing all the keys or values.
803805
\code{D.popitem()} removes a random \code{(\var{key}, \var{value})}
804-
pair from the dictionary and returns it as a 2-tuple. This was
805-
implemented mostly by Tim Peters and Guido van Rossum, after a
806+
pair from the dictionary~\code{D} and returns it as a 2-tuple. This
807+
was implemented mostly by Tim Peters and Guido van Rossum, after a
806808
suggestion and preliminary patch by Moshe Zadka.
807809
808810
\item Modules can now control which names are imported when \code{from
@@ -844,7 +846,8 @@ \section{Other Changes and Fixes}
844846
340K thanks to Fredrik Lundh.
845847
846848
\item Some new ports were contributed: MacOS X (by Steven Majewski),
847-
Cygwin (by Jason Tishler); RISCOS (by Dietmar Schwertberger).
849+
Cygwin (by Jason Tishler); RISCOS (by Dietmar Schwertberger); Unixware~7
850+
(by Billy G. Allie).
848851
849852
\end{itemize}
850853

0 commit comments

Comments
 (0)