From bbf367f1d3658d447519f571b6192df5f160e7b0 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 4 Oct 2003 14:58:04 +0000 Subject: [PATCH] Added __all__. --- src/fix.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fix.py b/src/fix.py index 73395ba04..126db42af 100644 --- a/src/fix.py +++ b/src/fix.py @@ -35,9 +35,11 @@ Fixes stuff that Python should have but doesn't. """ +__all__ = ['ignore', 'catch', 'reviter', 'window', 'group', + 'partition', 'any', 'all', 'rsplit'] + import string string.ascii = string.maketrans('', '') -del string def ignore(*args, **kwargs): """Simply ignore the arguments sent to it.""" @@ -70,8 +72,6 @@ def ilen(iterator): i += 1 return i itertools.ilen = ilen -del itertools -del ilen def group(seq, groupSize, noneFill=True): """Groups a given sequence into sublists of length groupSize."""