RE: [Tutor] Re: Newbie OOP Question.
(diff between function, modu le and class)
by Skip Montanaro other posts by this author
Jun 11 2002 1:35PM messages near this date
RE: [Tutor] Re: Newbie OOP Question.
(diff between function, modu le and class)
|
RE: [Tutor] Newbie Q's
skip> system doesn't have a syntax for referring to the current module's
skip> parent (no "..").
sa> Ahh. Now that may prove interesting. Would it be beneficial to make
sa> a reserved command like .. That pops you back into the parent
sa> namespace?
alan> There is sort of its the global statement:
Not quite what I was referring to (I was equating module namespaces and file
system directories), but I agree, in the context of a function the global
statement does "pop you up" one level.
Skip
_______________________________________________
Tutor maillist - Tutor@[...].org
http://mail.python.org/mailman/listinfo/tutor
Thread:
Skip Montanaro
|