2021-06-24 19:53:38 +00:00
|
|
|
import collections
|
2021-02-15 17:52:06 +00:00
|
|
|
import warnings
|
2017-10-11 16:05:32 +00:00
|
|
|
|
|
|
|
|
2021-06-24 19:53:38 +00:00
|
|
|
class OrderedDict(collections.OrderedDict):
|
|
|
|
def __init__(self, *args, **kwds):
|
|
|
|
warnings.warn(
|
|
|
|
"OrderedDict is in the standard library for supported versions of Python. Will be removed in 0.13",
|
|
|
|
DeprecationWarning,
|
|
|
|
stacklevel=2,
|
|
|
|
)
|
2021-08-02 15:51:28 +00:00
|
|
|
super().__init__(*args, **kwds)
|