The difference between __XX__ and XX method
AON LAZIO
aonlazio at gmail.com
Mon Sep 8 17:31:14 EDT 2008
Hi, Pythoners.
I would like to know that in some class, it uses __XX__ but in some it
uses only XX
for example,
class Test:
def __som__(self):
...
def som(self):
...
What does "__XX__" make the method different from XX?
Thanks in advance
Aonlazio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080908/e4767b57/attachment.html>
More information about the Python-list
mailing list