diff Lib/UserString.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 4c01ee0a8073
children 9ea87c0a7c04
line wrap: on
line diff
--- a/Lib/UserString.py	Sat Jan 20 19:12:54 2001 +0000
+++ b/Lib/UserString.py	Sat Jan 20 19:54:20 2001 +0000
@@ -8,6 +8,8 @@
 from types import StringType, UnicodeType
 import sys
 
+__all__ = ["UserString","MutableString"]
+
 class UserString:
     def __init__(self, seq):
         if isinstance(seq, StringType) or isinstance(seq, UnicodeType):