diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-11-06 23:45:48 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-11-06 23:45:48 (GMT) |
commit | 90cf212cefd270615a6d7ffa043e1cf3bd9ec9f2 (patch) | |
tree | a3d33b5d4f0819e9bd0f59329bc3aad39d78df07 /Lib | |
parent | b12efd3f8a4f3387d66095090b37f22314fa5888 (diff) | |
download | cpython-90cf212cefd270615a6d7ffa043e1cf3bd9ec9f2.zip cpython-90cf212cefd270615a6d7ffa043e1cf3bd9ec9f2.tar.gz cpython-90cf212cefd270615a6d7ffa043e1cf3bd9ec9f2.tar.bz2 |
Essentially SF patch 1061679: add missing __all__ to pickletools.py.
Harmless.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/pickletools.py | 4 | ||||
-rw-r--r-- | Lib/test/test___all__.py | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/Lib/pickletools.py b/Lib/pickletools.py index d7c1a7d..5e05b64 100644 --- a/Lib/pickletools.py +++ b/Lib/pickletools.py @@ -10,6 +10,10 @@ dis(pickle, out=None, memo=None, indentlevel=4) Print a symbolic disassembly of a pickle. ''' +__all__ = ['dis', + 'genops', + ] + # Other ideas: # # - A pickle verifier: read a pickle and check it exhaustively for diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py index 0794bd8..3bddcad 100644 --- a/Lib/test/test___all__.py +++ b/Lib/test/test___all__.py @@ -114,6 +114,7 @@ class AllTest(unittest.TestCase): self.check_all("os2emxpath") self.check_all("pdb") self.check_all("pickle") + self.check_all("pickletools") self.check_all("pipes") self.check_all("popen2") self.check_all("poplib") |