From 8e937f80c9b8ad99c88f24581d3d661d258b770b Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Wed, 1 Jun 2016 09:36:14 -0700 Subject: [PATCH] Fix typo in Python tutorial --- Doc/tutorial/classes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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).