mirror of
https://github.com/python/cpython.git
synced 2025-07-22 02:35:22 +00:00
Implement and apply PEP 322, reverse iteration
This commit is contained in:
parent
f607fc5395
commit
85c20a41df
12 changed files with 198 additions and 9 deletions
|
@ -975,8 +975,7 @@ def test():
|
|||
print seqs
|
||||
f.putsequences(seqs)
|
||||
do('f.getsequences()')
|
||||
testfolders.reverse()
|
||||
for t in testfolders: do('mh.deletefolder(%s)' % `t`)
|
||||
for t in reversed(testfolders): do('mh.deletefolder(%s)' % `t`)
|
||||
do('mh.getcontext()')
|
||||
context = mh.getcontext()
|
||||
f = mh.openfolder(context)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue