Why prefix with an underscore?

MDK mdk at mdk.com
Tue Feb 12 08:24:41 EST 2002


I am wondering why I see some people's code with function definitions
prefixed with an underscore.

For example:

def _myfunct(foo):

Does this mean something to the code or is it for some other reason?

Thanks.





More information about the Python-list mailing list