Added __all__.

This commit is contained in:
Jeremy Fincher 2003-10-04 14:58:04 +00:00
parent 606ac0519e
commit bbf367f1d3
1 changed files with 3 additions and 3 deletions

View File

@ -35,9 +35,11 @@
Fixes stuff that Python should have but doesn't. Fixes stuff that Python should have but doesn't.
""" """
__all__ = ['ignore', 'catch', 'reviter', 'window', 'group',
'partition', 'any', 'all', 'rsplit']
import string import string
string.ascii = string.maketrans('', '') string.ascii = string.maketrans('', '')
del string
def ignore(*args, **kwargs): def ignore(*args, **kwargs):
"""Simply ignore the arguments sent to it.""" """Simply ignore the arguments sent to it."""
@ -70,8 +72,6 @@ def ilen(iterator):
i += 1 i += 1
return i return i
itertools.ilen = ilen itertools.ilen = ilen
del itertools
del ilen
def group(seq, groupSize, noneFill=True): def group(seq, groupSize, noneFill=True):
"""Groups a given sequence into sublists of length groupSize.""" """Groups a given sequence into sublists of length groupSize."""