Bugs item #969757, was opened at 2004-06-09 16:59 Message generated for change (Settings changed) made by gbrandl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=969757&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: Mark Jackson (mjackson) >Assigned to: Georg Brandl (gbrandl) Summary: function and method objects confounded in Tutorial Initial Comment: In Section 9.3.2 (Class Objects) we find, right after the MyClass example code: "then MyClass.i and MyClass.f are valid attribute references, returning an integer and a method object, respectively." However, at the end of Section 9.3.3 (Instance Objects) we find, referring to the same example: "But x.f is not the same thing as MyClass.f - it is a method object, not a function object." There are references to MyClass.f as a function or function object in Section 9.3.4 as well. Although Python terminology doesn't seem to be completely consistent around this point (in the Python 2.1.3 interpreter MyClass.f describes itself as an "unbound method") iit seems clear that calling MyClass.f a method object in Section 9.3.2 is, in this context, an error. Should be changed to "function object." ---------------------------------------------------------------------- Comment By: Georg Brandl (birkenfeld) Date: 2005-07-08 21:37 Message: Logged In: YES user_id=1188172 Thanks for the report, fixed as Doc/tut/tut.tex r1.275, r1.261.2.10. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=969757&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com