Skip to content

Commit 3224b99

Browse files
StanFromIrelandeffigiesAA-Turner
authored
Doc: Allow translating a code block in the tutorial (#131353)
Co-authored-by: Chris Markiewicz <[email protected]> Co-authored-by: Adam Turner <[email protected]>
1 parent 4617d68 commit 3224b99

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)