commit | 9083eb6aac6e0aa0eb1dee9bc535538de4125fcd | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Mon Dec 05 18:23:27 2016 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Mon Dec 05 18:23:27 2016 +0100 |
tree | dbf66c843fe393fd2b3dbce12d63219d5cdd565f | |
parent | 408bfa6d96456a7c3621e5c6d249d3fac337a78b [diff] |
Use directly _PyObject_GenericSetAttrWithDict() Modify type_setattro() to call directly _PyObject_GenericSetAttrWithDict() instead of PyObject_GenericSetAttr(). PyObject_GenericSetAttr() is a thin wrapper to _PyObject_GenericSetAttrWithDict().