aboutsummaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-06-01 09:36:14 -0700
committerBerker Peksag <berker.peksag@gmail.com>2016-06-01 09:36:14 -0700
commit8e937f80c9b8ad99c88f24581d3d661d258b770b (patch)
treeb64771249c46686b55a714f87c1acf7064072eae /Doc
parentIssue #25570: Add example of customizing User-Agent via add_header() (diff)
downloadcpython-8e937f80c9b8ad99c88f24581d3d661d258b770b.tar.gz
cpython-8e937f80c9b8ad99c88f24581d3d661d258b770b.tar.bz2
cpython-8e937f80c9b8ad99c88f24581d3d661d258b770b.zip
Fix typo in Python tutorial
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/classes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index cc2c35b0ae7..2489d75b160 100644
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -120,7 +120,7 @@ are directly accessible:
If a name is declared global, then all references and assignments go directly to
the middle scope containing the module's global names. To rebind variables
found outside of the innermost scope, the :keyword:`nonlocal` statement can be
-used; if not declared nonlocal, those variable are read-only (an attempt to
+used; if not declared nonlocal, those variables are read-only (an attempt to
write to such a variable will simply create a *new* local variable in the
innermost scope, leaving the identically named outer variable unchanged).