summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-02-01 07:31:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2017-02-01 07:31:10 (GMT)
commit2b3f4c1efba963e76161445904e3a43ff8777395 (patch)
tree5c124464303edb1d5bec872062b55f151f0e9912 /Modules
parentcd12f7cb5c67e84b07f8022c5f7874b2c08d5507 (diff)
parentec977c302847b6dc2d763a896091582708fc392a (diff)
downloadcpython-2b3f4c1efba963e76161445904e3a43ff8777395.zip
cpython-2b3f4c1efba963e76161445904e3a43ff8777395.tar.gz
cpython-2b3f4c1efba963e76161445904e3a43ff8777395.tar.bz2
merge 3.5 (#29398)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/xxlimited.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/xxlimited.c b/Modules/xxlimited.c
index c1a9be9..5041ac8 100644
--- a/Modules/xxlimited.c
+++ b/Modules/xxlimited.c
@@ -31,7 +31,7 @@ static XxoObject *
newXxoObject(PyObject *arg)
{
XxoObject *self;
- self = PyObject_New(XxoObject, (PyTypeObject*)Xxo_Type);
+ self = PyObject_GC_New(XxoObject, (PyTypeObject*)Xxo_Type);
if (self == NULL)
return NULL;
self->x_attr = NULL;