mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Added __all__.
This commit is contained in:
parent
606ac0519e
commit
bbf367f1d3
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user