mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
Add reminder, and a new POSIX function
Tweak traceback display for consistency
This commit is contained in:
parent
495afea36e
commit
9f6e104c80
1 changed files with 8 additions and 6 deletions
|
|
@ -24,6 +24,8 @@
|
||||||
%
|
%
|
||||||
% Docstrings now optional (with --without-doc-strings)
|
% Docstrings now optional (with --without-doc-strings)
|
||||||
%
|
%
|
||||||
|
% New dependency argument to distutils.Extension
|
||||||
|
%
|
||||||
|
|
||||||
%\section{Introduction \label{intro}}
|
%\section{Introduction \label{intro}}
|
||||||
|
|
||||||
|
|
@ -109,8 +111,8 @@ Here's a sample usage of the \function{generate_ints} generator:
|
||||||
2
|
2
|
||||||
>>> gen.next()
|
>>> gen.next()
|
||||||
Traceback (most recent call last):
|
Traceback (most recent call last):
|
||||||
File "<stdin>", line 1, in ?
|
File "stdin", line 1, in ?
|
||||||
File "<stdin>", line 2, in generate_ints
|
File "stdin", line 2, in generate_ints
|
||||||
StopIteration
|
StopIteration
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
|
|
@ -534,7 +536,7 @@ KeyError: 4
|
||||||
2
|
2
|
||||||
>>> d.pop(1)
|
>>> d.pop(1)
|
||||||
Traceback (most recent call last):
|
Traceback (most recent call last):
|
||||||
File ``<stdin>'', line 1, in ?
|
File ``stdin'', line 1, in ?
|
||||||
KeyError: pop(): dictionary is empty
|
KeyError: pop(): dictionary is empty
|
||||||
>>> d
|
>>> d
|
||||||
{}
|
{}
|
||||||
|
|
@ -550,9 +552,9 @@ convert between radians and degrees. Other functions in the
|
||||||
\function{math.sin()} and \function{math.cos()} have always required
|
\function{math.sin()} and \function{math.cos()} have always required
|
||||||
input values measured in radians. (Contributed by Raymond Hettinger.)
|
input values measured in radians. (Contributed by Raymond Hettinger.)
|
||||||
|
|
||||||
\item Two new functions, \function{killpg()} and \function{mknod()},
|
\item Three new functions, \function{getpgid()}, \function{killpg()},
|
||||||
were added to the \module{posix} module that underlies the \module{os}
|
and \function{mknod()}, were added to the \module{posix} module that
|
||||||
module.
|
underlies the \module{os} module.
|
||||||
|
|
||||||
\item Two new binary packagers were added to the Distutils.
|
\item Two new binary packagers were added to the Distutils.
|
||||||
\code{bdist_pkgtool} builds \file{.pkg} files to use with Solaris
|
\code{bdist_pkgtool} builds \file{.pkg} files to use with Solaris
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue