]> granicus.if.org Git - python/commitdiff
Minor correction. Closes #11418
authorTerry Jan Reedy <tjreedy@udel.edu>
Wed, 11 Jan 2012 19:51:07 +0000 (14:51 -0500)
committerTerry Jan Reedy <tjreedy@udel.edu>
Wed, 11 Jan 2012 19:51:07 +0000 (14:51 -0500)
Doc/tutorial/classes.rst

index c3640a05f7c045829a1c2d55bbb2594646ac6817..9f115b0f8f6c35303d78812c83ce0208aa13b633 100644 (file)
@@ -409,8 +409,8 @@ argument::
            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