pyqtgraph/pyqtgraph/ordereddict.py
2021-06-25 21:19:34 +08:00

12 lines
362 B
Python

import collections
import warnings
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,
)
super().__init__(*args, **kwds)