summaryrefslogtreecommitdiffstats
path: root/Objects/odictobject.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-04-14 15:52:15 (GMT)
committerGitHub <noreply@github.com>2020-04-14 15:52:15 (GMT)
commite5014be0497d06d78343623588a80f491a6f7b74 (patch)
treea8bbd18a39f6567115adb3089d1d9758c3e4690d /Objects/odictobject.c
parente1945307d36849f8be8937144cf3dd6ebab6274c (diff)
downloadcpython-e5014be0497d06d78343623588a80f491a6f7b74.zip
cpython-e5014be0497d06d78343623588a80f491a6f7b74.tar.gz
cpython-e5014be0497d06d78343623588a80f491a6f7b74.tar.bz2
bpo-40268: Remove a few pycore_pystate.h includes (GH-19510)
Diffstat (limited to 'Objects/odictobject.c')
-rw-r--r--Objects/odictobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/odictobject.c b/Objects/odictobject.c
index 220ae92..2fcaa47 100644
--- a/Objects/odictobject.c
+++ b/Objects/odictobject.c
@@ -466,7 +466,6 @@ later:
#include "Python.h"
#include "pycore_object.h"
-#include "pycore_pystate.h"
#include "structmember.h"
#include "dict-common.h"
#include <stddef.h>
@@ -890,7 +889,7 @@ odict_inplace_or(PyObject *self, PyObject *other)
if (mutablemapping_update_arg(self, other) < 0) {
return NULL;
}
- Py_INCREF(self);
+ Py_INCREF(self);
return self;
}