static methods

Grant Edwards grante at visi.com
Sat Mar 24 20:09:15 EST 2001


On Sun, 25 Mar 2001 00:52:06 GMT, Courageous <jkraska1 at san.rr.com> wrote:

>>>Hrm. I'd forgotten that. In languages where there are no namespaces,
>>>it's useful to be able to make certain that symbols don't go out and
>>>pollute the global namespace in which ALL symbols reside. This is
>>>what that's for.
>>
>>I'm confused -- are you saying that C doesn't have namespaces?
>
>Erm, well, unless C99 defined them, no.

There's a global namespace, a "file" namespace, and each set of
{} defines a namespace (they're all nested).  Somehow I don't
think that's what you're talking about...

-- 
Grant Edwards                   grante             Yow!  World War III? No
                                  at               thanks!
                               visi.com            



More information about the Python-list mailing list