[Python-checkins] cpython (2.7): Minor correction. Closes #11418

terry.reedy python-checkins at python.org
Wed Jan 11 20:57:45 CET 2012


http://hg.python.org/cpython/rev/10a5165103f9
changeset:   74335:10a5165103f9
branch:      2.7
parent:      74330:3aed8787ce5c
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Wed Jan 11 14:51:07 2012 -0500
summary:
  Minor correction. Closes #11418

files:
  Doc/tutorial/classes.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -409,8 +409,8 @@
            self.add(x)
 
 Methods may reference global names in the same way as ordinary functions.  The
-global scope associated with a method is the module containing the class
-definition.  (The class itself is never used as a global scope.)  While one
+global scope associated with a method is the module containing its
+definition.  (A class is never used as a global scope.)  While one
 rarely encounters a good reason for using global data in a method, there are
 many legitimate uses of the global scope: for one thing, functions and modules
 imported into the global scope can be used by methods, as well as functions and

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list