summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2016-09-08 22:11:11 (GMT)
committerEric Snow <ericsnowcurrently@gmail.com>2016-09-08 22:11:11 (GMT)
commit4f29e75289592991efcc65a96a2a4a995417b76e (patch)
treeb6d0019f076909e11633cadc468a7822124965a3 /Python
parent7f730cf01d161f2d1793372a0852788ad5f4acb1 (diff)
downloadcpython-4f29e75289592991efcc65a96a2a4a995417b76e.zip
cpython-4f29e75289592991efcc65a96a2a4a995417b76e.tar.gz
cpython-4f29e75289592991efcc65a96a2a4a995417b76e.tar.bz2
Issue #24254: Drop cls.__definition_order__.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 252c0a7..da9ad55 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -147,7 +147,7 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
if (prep == NULL) {
if (PyErr_ExceptionMatches(PyExc_AttributeError)) {
PyErr_Clear();
- ns = PyODict_New();
+ ns = PyDict_New();
}
else {
Py_DECREF(meta);