mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 05:32:51 +01:00
Changed __all__ to the empty list so people won't misuse fix.py.
This commit is contained in:
parent
10651494f5
commit
4b0ecc94e5
@ -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]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user