diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-06-01 09:36:14 -0700 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-06-01 09:36:14 -0700 |
commit | 8ee1430c7c697ff346e91466b82faf19d120f603 (patch) | |
tree | 5fb3d408e077944dec81ad221066e9bb5a706f15 /Doc/tutorial/classes.rst | |
parent | 1ae72bbc18875286d3a562a9dfa61f96c70ad9a3 (diff) | |
download | cpython-8ee1430c7c697ff346e91466b82faf19d120f603.tar.gz |
Fix typo in Python tutorial
Diffstat (limited to 'Doc/tutorial/classes.rst')
-rw-r--r-- | Doc/tutorial/classes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index cc2c35b0ae..2489d75b16 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). |