summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-05-08 23:38:47 (GMT)
committerGitHub <noreply@github.com>2022-05-08 23:38:47 (GMT)
commit6679fdf4f0dbfb35d10c26343900ece18fef2856 (patch)
tree14b2a497c4fd5e73101d876a4868b6507e2a863c
parentca425ac11a152c51f84d3eba0e133f21eb67f07e (diff)
downloadcpython-6679fdf4f0dbfb35d10c26343900ece18fef2856.zip
cpython-6679fdf4f0dbfb35d10c26343900ece18fef2856.tar.gz
cpython-6679fdf4f0dbfb35d10c26343900ece18fef2856.tar.bz2
pdb docs: workaround for double semicolon in strings (GH-17011)
see https://github.com/gotcha/ipdb/issues/172 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 2888b1107fd0b43cc800987a00155bdbeacdb23a) Co-authored-by: Godefroid Chapelle <gotcha@bubblenet.be>
-rw-r--r--Doc/library/pdb.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst
index 13e1a19..dcd509d 100644
--- a/Doc/library/pdb.rst
+++ b/Doc/library/pdb.rst
@@ -233,7 +233,8 @@ Multiple commands may be entered on a single line, separated by ``;;``. (A
single ``;`` is not used as it is the separator for multiple commands in a line
that is passed to the Python parser.) No intelligence is applied to separating
the commands; the input is split at the first ``;;`` pair, even if it is in the
-middle of a quoted string.
+middle of a quoted string. A workaround for strings with double semicolons
+is to use implicit string concatenation ``';'';'`` or ``";"";"``.
.. index::
pair: .pdbrc; file