Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Doc/tutorial/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ Alternatively, we can use the other type of quotation marks::
'"Yes," they said.'
>>> "\"Yes,\" they said."
'"Yes," they said.'

When both types of quotes are used, use the ``\`` escape. The output will
also show a backslash::

>>> '"Isn\'t," they said.'
'"Isn\'t," they said.'

Expand Down
Loading