Skip to content

Commit 982c91e

Browse files
committed
Merge with 3.2
2 parents 7a825ba + ea868d3 commit 982c91e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

β€ŽDoc/tutorial/classes.rstβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,8 @@ argument::
458458
self.add(x)
459459

460460
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
461+
global scope associated with a method is the module containing its
462+
definition. (A class is never used as a global scope.) While one
463463
rarely encounters a good reason for using global data in a method, there are
464464
many legitimate uses of the global scope: for one thing, functions and modules
465465
imported into the global scope can be used by methods, as well as functions and

0 commit comments

Comments
 (0)