Skip to content

Commit

Permalink
Merge pull request #23 from NextThought/literals
Browse files Browse the repository at this point in the history
Remove _u compat function.
  • Loading branch information
jamadden committed Aug 2, 2016
2 parents 42741cb + 26eb217 commit 727fcf6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/zope/component/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@

import cPickle as _pickle

def _u(s):
return unicode(s, 'unicode_escape')

CLASS_TYPES = (type, types.ClassType)

PYTHON3 = False
Expand All @@ -31,12 +28,9 @@ def _u(s):

import pickle as _pickle

def _u(s):
return s

CLASS_TYPES = (type,)

PYTHON3 = True
PYTHON2 = False

_BLANK = _u('')
_BLANK = u''

0 comments on commit 727fcf6

Please sign in to comment.