PyWarts: time, datetime, and calendar modules
Chris Angelico
rosuav at gmail.com
Sat Jan 14 16:56:03 EST 2012
On Sun, Jan 15, 2012 at 6:23 AM, Rick Johnson
<rantingrickjohnson at gmail.com> wrote:
> Observe:
> def $method(self):pass
> self. at instanceveriable
> self.@@classvariable
Are you deliberately inverting what PHP does, with $variablename?
(Incidentally, that's one of the things that irks me about PHP -
adorned variable names.)
In any case: Python does not distinguish between functions and other
sorts of objects. It makes no sense to adorn things in this way.
ChrisA
More information about the Python-list
mailing list