mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-18 16:12:42 +01:00
Remove utils.str.chars.
This commit is contained in:
parent
3838ab5314
commit
9edda206ea
@ -44,8 +44,6 @@ from structures import TwoWayDictionary
|
|||||||
from supybot.i18n import PluginInternationalization
|
from supybot.i18n import PluginInternationalization
|
||||||
internationalizeFunction=PluginInternationalization().internationalizeFunction
|
internationalizeFunction=PluginInternationalization().internationalizeFunction
|
||||||
|
|
||||||
chars = string.maketrans('', '')
|
|
||||||
|
|
||||||
def rsplit(s, sep=None, maxsplit=-1):
|
def rsplit(s, sep=None, maxsplit=-1):
|
||||||
"""Equivalent to str.split, except splitting from the right."""
|
"""Equivalent to str.split, except splitting from the right."""
|
||||||
if sys.version_info < (2, 4, 0):
|
if sys.version_info < (2, 4, 0):
|
||||||
|
Loading…
Reference in New Issue
Block a user