static methods
Chris Gonnerman
chris.gonnerman at usa.net
Sat Mar 24 15:53:19 EST 2001
----- Original Message -----
From: "Robin Thomas" <robin.thomas at starmedia.net>
Subject: Re: static methods
> At 04:38 PM 3/24/01 +0000, you wrote:
> Hideous
> example: declaring a function as "static" in C means that it's invisible
to
> code outside of the source file and to all code following it in the same
> file. :-0
Huh? static functions in C *are* visible in the same source file, just not
externally (unless you use something like the method table used in Python C
extensions).
How would you use a function if it is invisible in all code scopes?
More information about the Python-list
mailing list