[docs] method function or member function

Martin Feuchtwanger martinf at underhill.ca
Wed Apr 13 19:42:08 CEST 2011


Hi,

Just wondering if there's a mistake in http://docs.python.org/py3k/tutorial/classes.html

I have only limited experience of C++ objects, but i think classes have member variables (or data) 
and member functions (or methods). So shouldn't

"As in Modula-3, there are no shorthands for referencing the object's members from its methods: the 
*method *function is declared with an explicit first argument representing the object, which is 
provided implicitly by the call. As in Smalltalk, classes themselves are objects. This provides 
semantics for importing and renaming."

really be

"As in Modula-3, there are no shorthands for referencing the object's members from its methods: the 
*member *function is declared with an explicit first argument representing the object, which is 
provided implicitly by the call. As in Smalltalk, classes themselves are objects. This provides 
semantics for importing and renaming."
?

Cheers,

-- 
Martin Feuchtwanger, PhD   martinf at underhill.ca   604-732-3384 x 206
Underhill Geomatics Ltd.   www.underhill.ca
210A, 3430 Brighton Ave.   Burnaby, BC            V5A 3H4

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20110413/9e23668d/attachment.html>


More information about the docs mailing list