File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -374,11 +374,11 @@ Surely Python raises an exception when a function that requires an argument is
374374called without any --- even if the argument isn't actually used...
375375
376376Actually, you may have guessed the answer: the special thing about methods is
377- that the object is passed as the first argument of the function. In our
377+ that the instance object is passed as the first argument of the function. In our
378378example, the call ``x.f() `` is exactly equivalent to ``MyClass.f(x) ``. In
379379general, calling a method with a list of *n * arguments is equivalent to calling
380380the corresponding function with an argument list that is created by inserting
381- the method's object before the first argument.
381+ the method's instance object before the first argument.
382382
383383If you still don't understand how methods work, a look at the implementation can
384384perhaps clarify matters. When an instance attribute is referenced that isn't a
@@ -906,4 +906,3 @@ Examples::
906906 namespace; the name :attr: `~object.__dict__ ` is an attribute but not a global name.
907907 Obviously, using this violates the abstraction of namespace implementation, and
908908 should be restricted to things like post-mortem debuggers.
909-
You can’t perform that action at this time.
0 commit comments