diff options
author | R David Murray <rdmurray@bitdance.com> | 2014-02-26 17:52:51 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2014-02-26 17:52:51 (GMT) |
commit | d2d81f016348b359888e7198371d7597aa8831b0 (patch) | |
tree | dc21fc638edb8b8b7eee7744783ef1ebe0c02684 /Doc | |
parent | bdf5efa10c922f86c9d49f006b833ab7a9e44538 (diff) | |
download | cpython-d2d81f016348b359888e7198371d7597aa8831b0.zip cpython-d2d81f016348b359888e7198371d7597aa8831b0.tar.gz cpython-d2d81f016348b359888e7198371d7597aa8831b0.tar.bz2 |
whatsnew: reformat pdb entry to match style of most other module entries.
That is: one paragraph per feature.
Diffstat (limited to 'Doc')
-rw-r--r-- | 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 index fc9ca13..f9e5b2a 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -998,16 +998,14 @@ pdb --- 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: |