kann mir einer erklären, warum print zusätzlich ein "None" zurückgibt?
Code: Alles auswählen
class test(object):
def _test1(self):
print 1
test1 = test()
print test1._test1()
Code: Alles auswählen
C:\Documents and Settings\xxx\My Documents\python>python test.py
1
None
C:\Documents and Settings\xxx\My Documents\python>
Twilo