From 4b0ecc94e55019ba0ab363f275f17e0763a0f43d Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 8 Oct 2003 20:57:29 +0000 Subject: [PATCH] Changed __all__ to the empty list so people won't misuse fix.py. --- src/fix.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/fix.py b/src/fix.py index e036bf2aa..30138f091 100644 --- a/src/fix.py +++ b/src/fix.py @@ -33,7 +33,9 @@ Fixes stuff that Python should have but doesn't. """ -__all__ = ['ignore', 'catch', 'reviter', 'window', 'group', +__all__ = [] + +exported = ['ignore', 'catch', 'reviter', 'window', 'group', 'partition', 'any', 'all', 'rsplit'] import string @@ -129,7 +131,7 @@ def rsplit(s, sep=None, maxsplit=-1): L.reverse() return [s[::-1] for s in L] -for name in __all__: +for name in exported: __builtins__[name] = globals()[name]