summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorAndrés Delfino <adelfino@gmail.com>2018-06-18 15:33:58 (GMT)
committerINADA Naoki <methane@users.noreply.github.com>2018-06-18 15:33:58 (GMT)
commit60c888d0eb673272920fa3b33f6e5b176d217dc9 (patch)
treec527cf83c496330d23dddbb720ca846d45faa8d4 /Doc/tutorial
parentc488558faaff4ffa44ba20e0c1f1fc8f18fe722f (diff)
downloadcpython-60c888d0eb673272920fa3b33f6e5b176d217dc9.zip
cpython-60c888d0eb673272920fa3b33f6e5b176d217dc9.tar.gz
cpython-60c888d0eb673272920fa3b33f6e5b176d217dc9.tar.bz2
bpo-33892: Doc: Use gender neutral words (GH-7770)
(cherry picked from commit 5092439c2cb32112a5869b138011d38491db90a9) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/introduction.rst20
1 files changed, 10 insertions, 10 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst
index be9aa83..2ff776e 100644
--- a/Doc/tutorial/introduction.rst
+++ b/Doc/tutorial/introduction.rst
@@ -149,12 +149,12 @@ to escape quotes::
"doesn't"
>>> "doesn't" # ...or use double quotes instead
"doesn't"
- >>> '"Yes," he said.'
- '"Yes," he said.'
- >>> "\"Yes,\" he said."
- '"Yes," he said.'
- >>> '"Isn\'t," she said.'
- '"Isn\'t," she said.'
+ >>> '"Yes," they said.'
+ '"Yes," they said.'
+ >>> "\"Yes,\" they said."
+ '"Yes," they said.'
+ >>> '"Isn\'t," they said.'
+ '"Isn\'t," they said.'
In the interactive interpreter, the output string is enclosed in quotes and
special characters are escaped with backslashes. While this might sometimes
@@ -165,10 +165,10 @@ enclosed in single quotes. The :keyword:`print` statement produces a more
readable output, by omitting the enclosing quotes and by printing escaped
and special characters::
- >>> '"Isn\'t," she said.'
- '"Isn\'t," she said.'
- >>> print '"Isn\'t," she said.'
- "Isn't," she said.
+ >>> '"Isn\'t," they said.'
+ '"Isn\'t," they said.'
+ >>> print '"Isn\'t," they said.'
+ "Isn't," they said.
>>> s = 'First line.\nSecond line.' # \n means newline
>>> s # without print, \n is included in the output
'First line.\nSecond line.'