diff options
| author | Terry Jan Reedy <tjreedy@udel.edu> | 2012-01-11 14:54:34 -0500 |
|---|---|---|
| committer | Terry Jan Reedy <tjreedy@udel.edu> | 2012-01-11 14:54:34 -0500 |
| commit | ea0f797192be52d514f5f3ce6b471823d53194f9 (patch) | |
| tree | ee9f318a98b7f1c0e8a7d14555c46d65b8744c75 /Doc/tutorial | |
| parent | 4d3d2432365db7b742df2a000a196af6ad29a8b9 (diff) | |
| download | cpython-ea0f797192be52d514f5f3ce6b471823d53194f9.tar.gz | |
Minor correction. #11418
Diffstat (limited to 'Doc/tutorial')
| -rw-r--r-- | Doc/tutorial/classes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst index 6ee2e94da8..68c4e5d886 100644 --- a/Doc/tutorial/classes.rst +++ b/Doc/tutorial/classes.rst @@ -458,8 +458,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 |
