[issue41751] Error copying an instance of a subclass of OrderedDict

Erez Zinman report at bugs.python.org
Wed Sep 9 10:06:40 EDT 2020


Erez Zinman <erezinman.programmer at gmail.com> added the comment:

small correction: meant `self.__class__` in the above function.

Also, it is based on https://github.com/python/cpython/blob/76553e5d2eae3e8a47406a6de4f354fe33ff370b/Lib/collections/__init__.py#L302

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41751>
_______________________________________


More information about the Python-bugs-list mailing list