Message99059
| Author |
tormen |
| Recipients |
tormen |
| Date |
2010年02月08日.19:03:40 |
| SpamBayes Score |
0.0018334077 |
| Marked as misclassified |
No |
| Message-id |
<1265655823.9.0.9257468855.issue7886@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
# 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? |
|
History
|
|---|
| 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 |
|