Skip to content

Commit

Permalink
spoking --> speaking
Browse files Browse the repository at this point in the history
object whose method this is --> object on which the method operates
  • Loading branch information
freddrake committed Aug 24, 1998
1 parent ab076fd commit d0421dd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Doc/lib/libstdtypes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ \subsubsection{Modules}
\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
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,
rather it requires an (external) \emph{definition} for a module named
\var{foo} somewhere.)
Expand Down Expand Up @@ -641,12 +641,12 @@ \subsubsection{Methods}
with the types that support them.

The implementation adds two special read-only attributes to class
instance methods: \code{\var{m}.im_self} is the object whose method this
is, and \code{\var{m}.im_func} is the function implementing the method.
Calling \code{\var{m}(\var{arg-1}, \var{arg-2}, {\rm \ldots},
\var{arg-n})} is completely equivalent to calling
\code{\var{m}.im_func(\var{m}.im_self, \var{arg-1}, \var{arg-2}, {\rm
\ldots}, \var{arg-n})}.
instance methods: \code{\var{m}.im_self} is the object on which the
method operates, and \code{\var{m}.im_func} is the function
implementing the method. Calling \code{\var{m}(\var{arg-1},
\var{arg-2}, {\rm \ldots}, \var{arg-n})} is completely equivalent to
calling \code{\var{m}.im_func(\var{m}.im_self, \var{arg-1},
\var{arg-2}, {\rm \ldots}, \var{arg-n})}.

See the \emph{Python Reference Manual} for more information.

Expand Down

0 comments on commit d0421dd

Please sign in to comment.