We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a825ba + ea868d3 commit 982c91eCopy full SHA for 982c91e
1 file changed
βDoc/tutorial/classes.rstβ
@@ -458,8 +458,8 @@ argument::
458
self.add(x)
459
460
Methods may reference global names in the same way as ordinary functions. The
461
-global scope associated with a method is the module containing the class
462
-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
463
rarely encounters a good reason for using global data in a method, there are
464
many legitimate uses of the global scope: for one thing, functions and modules
465
imported into the global scope can be used by methods, as well as functions and
0 commit comments