summaryrefslogtreecommitdiff
path: root/python/enum/__init__.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-06-07 09:59:54 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-05 10:08:09 -0400
commit61b4bb24e06aa955484293d35fa926c07887544b (patch)
tree29c6b7fecdac6270681260637439926ec07a259e /python/enum/__init__.py
parent75f2463a46cc666e87120f3a30332fa80020b62e (diff)
Add type hints to basicblock.py, lowlevelil.py, architecture.py
Diffstat (limited to 'python/enum/__init__.py')
-rw-r--r--python/enum/__init__.py13
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__.