summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/classes.rst
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2012-01-11 19:54:34 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2012-01-11 19:54:34 (GMT)
commitea868d32a1ca25a96a1dc17ca1c11db0bf37e413 (patch)
tree6adcb3f8a995fd411b6fba403195144f6a03ea18 /Doc/tutorial/classes.rst
parente247928fedde92e27801887857841f0975915d12 (diff)
downloadcpython-ea868d32a1ca25a96a1dc17ca1c11db0bf37e413.zip
cpython-ea868d32a1ca25a96a1dc17ca1c11db0bf37e413.tar.gz
cpython-ea868d32a1ca25a96a1dc17ca1c11db0bf37e413.tar.bz2
Minor correction. #11418
Diffstat (limited to 'Doc/tutorial/classes.rst')
-rw-r--r--Doc/tutorial/classes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index 6ee2e94..68c4e5d 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