Commit d0421dd4 authored by Fred Drake's avatar Fred Drake

spoking --> speaking

object whose method this is --> object on which the method operates
parent ab076fdb
...@@ -593,7 +593,7 @@ The only special operation on a module is attribute access: ...@@ -593,7 +593,7 @@ The only special operation on a module is attribute access:
\code{\var{m}.\var{name}}, where \var{m} is a module and \var{name} \code{\var{m}.\var{name}}, where \var{m} is a module and \var{name}
accesses a name defined in \var{m}'s symbol table. Module attributes accesses a name defined in \var{m}'s symbol table. Module attributes
can be assigned to. (Note that the \code{import} statement is not, can be assigned to. (Note that the \code{import} statement is not,
strictly spoking, an operation on a module object; \code{import strictly speaking, an operation on a module object; \code{import
\var{foo}} does not require a module object named \var{foo} to exist, \var{foo}} does not require a module object named \var{foo} to exist,
rather it requires an (external) \emph{definition} for a module named rather it requires an (external) \emph{definition} for a module named
\var{foo} somewhere.) \var{foo} somewhere.)
...@@ -641,12 +641,12 @@ lists) and class instance methods. Built-in methods are described ...@@ -641,12 +641,12 @@ lists) and class instance methods. Built-in methods are described
with the types that support them. with the types that support them.
The implementation adds two special read-only attributes to class The implementation adds two special read-only attributes to class
instance methods: \code{\var{m}.im_self} is the object whose method this instance methods: \code{\var{m}.im_self} is the object on which the
is, and \code{\var{m}.im_func} is the function implementing the method. method operates, and \code{\var{m}.im_func} is the function
Calling \code{\var{m}(\var{arg-1}, \var{arg-2}, {\rm \ldots}, implementing the method. Calling \code{\var{m}(\var{arg-1},
\var{arg-n})} is completely equivalent to calling \var{arg-2}, {\rm \ldots}, \var{arg-n})} is completely equivalent to
\code{\var{m}.im_func(\var{m}.im_self, \var{arg-1}, \var{arg-2}, {\rm calling \code{\var{m}.im_func(\var{m}.im_self, \var{arg-1},
\ldots}, \var{arg-n})}. \var{arg-2}, {\rm \ldots}, \var{arg-n})}.
See the \emph{Python Reference Manual} for more information. See the \emph{Python Reference Manual} for more information.
......
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