Hi. I have some strange problem (this is usual for newbies :) ):
#!/usr/bin/python
#sample.py
class Base1:
def __init__(self):
print "Base1.__init__", self
def __del__(self):
print "Base1.__del__", self
class Base2:
def __init__(self):
print "Base2.__init__",
js писал(а):
> http://mail.python.org/pipermail/python-list/2004-May/221591.html
>
> HTH
Thank you!!!
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh писал(а):
Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
Hello.
Is there any good information about python's internals and semantic? I
mean "under the hood".
For example, I want to understant what do these strings
x = 10
y = 10
x = 20
mean (memory allocation for object? ctors? etc.)
Unfortynatly, I'm too lazy to read python's source code :) (and I
gue
Hello.
In 'augop' non-terminal :
http://docs.python.org/ref/augassign.html
the delimiter '//=' was skipped. Why?
In 'Boolean operations':
http://docs.python.org/ref/Booleans.html
In 'expression' rule - what does 'if', 'else' mean? I guess 'if' and
'else' must be keywords, not non-terminals.