diff options
author | Raymond Hettinger <python@rcn.com> | 2005-02-06 06:57:08 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2005-02-06 06:57:08 (GMT) |
commit | dbecd93b7203cd187c1978de1207c29d3a9a686c (patch) | |
tree | abb7331791de7b8e85208195e0c948a76cf77b67 /Lib/mhlib.py | |
parent | 07ead1731850a9f1bd353b9330341309251099b6 (diff) | |
download | cpython-dbecd93b7203cd187c1978de1207c29d3a9a686c.zip cpython-dbecd93b7203cd187c1978de1207c29d3a9a686c.tar.gz cpython-dbecd93b7203cd187c1978de1207c29d3a9a686c.tar.bz2 |
Replace list of constants with tuples of constants.
Diffstat (limited to 'Lib/mhlib.py')
-rw-r--r-- | Lib/mhlib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/mhlib.py b/Lib/mhlib.py index 1086121..1a90375 100644 --- a/Lib/mhlib.py +++ b/Lib/mhlib.py @@ -982,11 +982,11 @@ def test(): context = mh.getcontext() f = mh.openfolder(context) do('f.getcurrent()') - for seq in ['first', 'last', 'cur', '.', 'prev', 'next', + for seq in ('first', 'last', 'cur', '.', 'prev', 'next', 'first:3', 'last:3', 'cur:3', 'cur:-3', 'prev:3', 'next:3', '1:3', '1:-3', '100:3', '100:-3', '10000:3', '10000:-3', - 'all']: + 'all'): try: do('f.parsesequence(%r)' % (seq,)) except Error, msg: |