[Biopython-dev] private methods/vars

Yves Bastide Yves.Bastide at irisa.fr
Mon Jun 23 10:41:54 EDT 2003

ik3 at mail.inf.tu-dresden.de wrote:
> Hello,
> at the moment i try to become familiar with biopython.
> So my question is, why you are using only one underscore for private
> methods and variables in a class ? Or aren't they private ?
> Because if you use only one, then it is not really private.

It's the python convention (not only for classes, for modules also).
__variables are not private either, only mangled with the class' name.

> Or i'm wrong? Please help.
> Greetings,
> Ingo


More information about the Biopython-dev mailing list