Kaydet (Commit) 477a06c1 authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

Minor correction. Closes #11418

üst 1d79eb6a
......@@ -409,8 +409,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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment