]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in Python tutorial
authorBerker Peksag <berker.peksag@gmail.com>
Wed, 1 Jun 2016 16:36:14 +0000 (09:36 -0700)
committerBerker Peksag <berker.peksag@gmail.com>
Wed, 1 Jun 2016 16:36:14 +0000 (09:36 -0700)
Doc/tutorial/classes.rst

index cc2c35b0ae75af1ca32a563f9ea734335c7a2d77..2489d75b16097bf59c4006f4683ab0b58107e92b 100644 (file)
@@ -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).