Drop ordereddict requirement (#84)
* Drop ordereddict requirement As Python 2.7 is the minimum Python supported, every version of Python should have `ordereddict` preincluded in the standard library one way or another. So we can drop this dependency and just handle the differences between Python 2 and Python 3.
This commit is contained in:
parent
037859a1f8
commit
700076019b
|
@ -12,10 +12,7 @@ try:
|
|||
except ImportError:
|
||||
import queue as Queue
|
||||
|
||||
try:
|
||||
from collections import OrderedDict
|
||||
except ImportError:
|
||||
from ordereddict import OrderedDict
|
||||
from collections import OrderedDict
|
||||
|
||||
|
||||
# define constants
|
||||
|
|
Loading…
Reference in New Issue