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

Skip to content

Commit 9f6e104

Browse files
committed
Add reminder, and a new POSIX function
Tweak traceback display for consistency
1 parent 495afea commit 9f6e104

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

Doc/whatsnew/whatsnew23.tex

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
%
2525
% Docstrings now optional (with --without-doc-strings)
2626
%
27+
% New dependency argument to distutils.Extension
28+
%
2729

2830
%\section{Introduction \label{intro}}
2931

@@ -109,8 +111,8 @@ \section{PEP 255: Simple Generators\label{section-generators}}
109111
2
110112
>>> gen.next()
111113
Traceback (most recent call last):
112-
File "<stdin>", line 1, in ?
113-
File "<stdin>", line 2, in generate_ints
114+
File "stdin", line 1, in ?
115+
File "stdin", line 2, in generate_ints
114116
StopIteration
115117
\end{verbatim}
116118

@@ -534,7 +536,7 @@ \section{New and Improved Modules}
534536
2
535537
>>> d.pop(1)
536538
Traceback (most recent call last):
537-
File ``<stdin>'', line 1, in ?
539+
File ``stdin'', line 1, in ?
538540
KeyError: pop(): dictionary is empty
539541
>>> d
540542
{}
@@ -550,9 +552,9 @@ \section{New and Improved Modules}
550552
\function{math.sin()} and \function{math.cos()} have always required
551553
input values measured in radians. (Contributed by Raymond Hettinger.)
552554

553-
\item Two new functions, \function{killpg()} and \function{mknod()},
554-
were added to the \module{posix} module that underlies the \module{os}
555-
module.
555+
\item Three new functions, \function{getpgid()}, \function{killpg()},
556+
and \function{mknod()}, were added to the \module{posix} module that
557+
underlies the \module{os} module.
556558

557559
\item Two new binary packagers were added to the Distutils.
558560
\code{bdist_pkgtool} builds \file{.pkg} files to use with Solaris

0 commit comments

Comments
 (0)