[Python-checkins] cpython: whatsnew: reformat pdb entry to match style of most other module entries.
r.david.murray
python-checkins at python.org
Fri Feb 28 00:12:11 CET 2014
http://hg.python.org/cpython/rev/a0765aefa497
changeset: 89413:a0765aefa497
user: R David Murray <rdmurray at bitdance.com>
date: Wed Feb 26 12:52:51 2014 -0500
summary:
whatsnew: reformat pdb entry to match style of most other module entries.
That is: one paragraph per feature.
files:
Doc/whatsnew/3.4.rst | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -998,16 +998,14 @@
---
The ``print`` command has been removed from :mod:`pdb`, restoring access to the
-``print`` function.
-
-Rationale: Python2's ``pdb`` did not have a ``print`` command; instead,
-entering ``print`` executed the ``print`` statement. In Python3 ``print`` was
-mistakenly made an alias for the pdb :pdbcmd:`p` command. ``p``, however,
-prints the ``repr`` of its argument, not the ``str`` like the Python2 ``print``
-command did. Worse, the Python3 ``pdb print`` command shadowed the Python3
-``print`` function, making it inaccessible at the ``pdb`` prompt.
-
-(Contributed by Connor Osborn in :issue:`18764`.)
+Python :func:`print` function from the pdb command line. Python2's ``pdb`` did
+not have a ``print`` command; instead, entering ``print`` executed the
+``print`` statement. In Python3 ``print`` was mistakenly made an alias for the
+pdb :pdbcmd:`p` command. ``p``, however, prints the ``repr`` of its argument,
+not the ``str`` like the Python2 ``print`` command did. Worse, the Python3
+``pdb print`` command shadowed the Python3 ``print`` function, making it
+inaccessible at the ``pdb`` prompt. (Contributed by Connor Osborn in
+:issue:`18764`.)
.. _whatsnew-protocol-4:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list