Message99059
# python 3.1.1:
myList = []
for item in myList:
print( item ) # <<< works
for item in myList.reverse(): # <<< breaks with: TypeError: 'NoneType' object is not iterable
print( item ) #
# But the reverse of an empty list should really be an empty list
# ... or do I miss something here? |
|
Date |
User |
Action |
Args |
2010-02-08 19:03:44 | tormen | set | recipients:
+ tormen |
2010-02-08 19:03:43 | tormen | set | messageid: <1265655823.9.0.9257468855.issue7886@psf.upfronthosting.co.za> |
2010-02-08 19:03:41 | tormen | link | issue7886 messages |
2010-02-08 19:03:41 | tormen | create | |
|