Jason R. Coombs  committed 5c0a320

Created compatibility module to allow irc.strings to import on Python 3.

  • Participants
  • Parent commits 1844cae

Comments (0)

Files changed (2)

File irc/

+	str = unicode
+except NameError:
+	str = str

File irc/

 import re
 import string
+from . import _py2_compat
 # from jaraco.util.string
-class FoldedCase(unicode):
+class FoldedCase(_py2_compat.str):
     A case insensitive string class; behaves just like str
     except compares equal when the only variation is case.