diff options
Diffstat (limited to 'python/enum')
| -rw-r--r-- | python/enum/__init__.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/python/enum/__init__.py b/python/enum/__init__.py index 5045b4aa..8f1f4f5e 100644 --- a/python/enum/__init__.py +++ b/python/enum/__init__.py @@ -22,19 +22,6 @@ try: except ImportError: OrderedDict = None -try: - basestring -except NameError: - # In Python 2 basestring is the ancestor of both str and unicode - # in Python 3 it's just str, but was missing in 3.1 - basestring = str - -try: - unicode -except NameError: - # In Python 3 unicode no longer exists (it's just str) - unicode = str - class _RouteClassAttributeToGetattr(object): """Route attribute access on a class to __getattr__. |
