diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2009-01-24 21:08:38 (GMT) | 
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2009-01-24 21:08:38 (GMT) | 
| commit | 10085c656f864763237e30194d61041cadc0143b (patch) | |
| tree | 16a0d03dfcb99ab3286befee1e813532bf4f7ac6 /Lib/pickletools.py | |
| parent | a3ecd2c6689d8376dfda38e4bbd03a43a69a968a (diff) | |
| download | cpython-10085c656f864763237e30194d61041cadc0143b.zip cpython-10085c656f864763237e30194d61041cadc0143b.tar.gz cpython-10085c656f864763237e30194d61041cadc0143b.tar.bz2  | |
Issue #3657: fix occasional test_pickletools failures.
Diffstat (limited to 'Lib/pickletools.py')
| -rw-r--r-- | Lib/pickletools.py | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py index ae02a36..7121c2a 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -2083,11 +2083,11 @@ highest protocol among opcodes = 1  Exercise the INST/OBJ/BUILD family. ->>> import random ->>> dis(pickle.dumps(random.random, 0)) -    0: c    GLOBAL     'random random' -   15: p    PUT        0 -   18: .    STOP +>>> import pickletools +>>> dis(pickle.dumps(pickletools.dis, 0)) +    0: c    GLOBAL     'pickletools dis' +   17: p    PUT        0 +   20: .    STOP  highest protocol among opcodes = 0  >>> from pickletools import _Example  | 
