Peng Yu wrote:
Hi,

It says in http://www.python.org/dev/peps/pep-0008/

"    Method Names and Instance Variables

      Use the function naming rules: lowercase with words separated by
      underscores as necessary to improve readability.

      Use one leading underscore only for non-public methods and
instance
      variables."

I am wondering what is the different between member function and
member variable in term of naming convention.

Regards,
Peng

Member functions are verbs or sometimes adjectives, while member variables are nouns.

DaveA

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to