diff Lib/StringIO.py @ 16070:b5345e99596b legacy-trunk

added __all__ lists to a number of Python modules added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation.
author Skip Montanaro <skip@pobox.com>
date Sat, 20 Jan 2001 19:54:20 +0000
parents f72345b43662
children f42799c68929
line wrap: on
line diff
--- a/Lib/StringIO.py	Sat Jan 20 19:12:54 2001 +0000
+++ b/Lib/StringIO.py	Sat Jan 20 19:54:20 2001 +0000
@@ -34,6 +34,8 @@
 except ImportError:
     EINVAL = 22
 
+__all__ = ["StringIO"]
+
 EMPTYSTRING = ''
 
 class StringIO: