[issue41931] Make dict(object) return its attribute __dict__

Raymond Hettinger report at bugs.python.org
Sun Oct 4 14:17:08 EDT 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

The vars() function already does this.

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list