Code: Alles auswählen
bj@s8n:~$ python3.0
Python 3.0a3 (r30a3:61158, Mar 9 2008, 12:11:09)
[GCC 4.2.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> class A:
... def a(): pass
...
>>> A.a
<function a at 0x81fa0ac>
>>>