We should add this to the stub for OrderedDict. (Both Python 2 and 3.)
Note that we can't fix this by using a self-type for dict.copy() because in general if you subclass dict and don't override copy(), your copy() method will return just a dict. But OrderedDict.copy() overrides this behavior and the typeshed stub should say so.
We should add this to the stub for OrderedDict. (Both Python 2 and 3.)
Note that we can't fix this by using a self-type for
dict.copy()because in general if you subclassdictand don't overridecopy(), yourcopy()method will return just adict. ButOrderedDict.copy()overrides this behavior and the typeshed stub should say so.