Skip to content

Commit 3cd4c2d

Browse files
miss-islingtonStanFromIrelandeffigiesAA-Turner
authored
[3.14] Doc: Allow translating a code block in the tutorial (GH-131353) (#133648)
Doc: Allow translating a code block in the tutorial (GH-131353) (cherry picked from commit 3224b99) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Chris Markiewicz <[email protected]> Co-authored-by: Adam Turner <[email protected]>
1 parent 2de8a8b commit 3cd4c2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/tutorial/introduction.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ Python can manipulate text (represented by type :class:`str`, so-called
147147
"``Yay! :)``". They can be enclosed in single quotes (``'...'``) or double
148148
quotes (``"..."``) with the same result [#]_.
149149

150+
.. code-block:: pycon
151+
150152
>>> 'spam eggs' # single quotes
151153
'spam eggs'
152154
>>> "Paris rabbit got your back :)! Yay!" # double quotes

0 commit comments

Comments
 (0)