Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d0421dd

Browse files
committed
spoking --> speaking
object whose method this is --> object on which the method operates
1 parent ab076fd commit d0421dd

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Doc/lib/libstdtypes.tex

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ \subsubsection{Modules}
593593
\code{\var{m}.\var{name}}, where \var{m} is a module and \var{name}
594594
accesses a name defined in \var{m}'s symbol table. Module attributes
595595
can be assigned to. (Note that the \code{import} statement is not,
596-
strictly spoking, an operation on a module object; \code{import
596+
strictly speaking, an operation on a module object; \code{import
597597
\var{foo}} does not require a module object named \var{foo} to exist,
598598
rather it requires an (external) \emph{definition} for a module named
599599
\var{foo} somewhere.)
@@ -641,12 +641,12 @@ \subsubsection{Methods}
641641
with the types that support them.
642642

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

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

0 commit comments

Comments
 (0)