diff Doc/lib/libstdtypes.tex @ 9034:182c9cbdf053 legacy-trunk

spoking --> speaking object whose method this is --> object on which the method operates
author Fred Drake <fdrake@acm.org>
date Mon, 24 Aug 1998 17:57:20 +0000
parents b28b84e6a429
children bc41e86c938c
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex	Mon Aug 24 14:15:44 1998 +0000
+++ b/Doc/lib/libstdtypes.tex	Mon Aug 24 17:57:20 1998 +0000
@@ -593,7 +593,7 @@
 \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.)
@@ -641,12 +641,12 @@
 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.