Thanks to visit codestin.com Credit goes to github.com
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.
1 parent e247928 commit ea868d3Copy full SHA for ea868d3
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