@@ -593,7 +593,7 @@ \subsubsection{Modules}
593593\code {\var {m}.\var {name}}, where \var {m} is a module and \var {name}
594594accesses a name defined in \var {m}'s symbol table. Module attributes
595595can 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,
598598rather it requires an (external) \emph {definition } for a module named
599599\var {foo} somewhere.)
@@ -641,12 +641,12 @@ \subsubsection{Methods}
641641with the types that support them.
642642
643643The 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
651651See the \emph {Python Reference Manual } for more information.
652652
0 commit comments