diff options
| author | Berker Peksag <berker.peksag@gmail.com> | 2016-06-01 09:36:40 -0700 |
|---|---|---|
| committer | Berker Peksag <berker.peksag@gmail.com> | 2016-06-01 09:36:40 -0700 |
| commit | 12a8a8a0dba3f8f1e26240882701fa7d3e2e4151 (patch) | |
| tree | ded3caf6ee1e6efd68b2bd3b1c99d675d2ad5aa8 /Doc/tutorial | |
| parent | f9de40666c04ffe3213632f865a1cb05c3c09278 (diff) | |
| parent | 8e937f80c9b8ad99c88f24581d3d661d258b770b (diff) | |
| download | cpython-git-12a8a8a0dba3f8f1e26240882701fa7d3e2e4151.tar.gz | |
Merge from 3.5
Diffstat (limited to 'Doc/tutorial')
| -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). |
