summaryrefslogtreecommitdiff
path: root/Modules/xxlimited.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-01-31 23:31:10 -0800
committerBenjamin Peterson <benjamin@python.org>2017-01-31 23:31:10 -0800
commit2b3f4c1efba963e76161445904e3a43ff8777395 (patch)
tree5c124464303edb1d5bec872062b55f151f0e9912 /Modules/xxlimited.c
parentcd12f7cb5c67e84b07f8022c5f7874b2c08d5507 (diff)
parentec977c302847b6dc2d763a896091582708fc392a (diff)
downloadcpython-git-2b3f4c1efba963e76161445904e3a43ff8777395.tar.gz
merge 3.5 (#29398)
Diffstat (limited to 'Modules/xxlimited.c')
-rw-r--r--Modules/xxlimited.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/xxlimited.c b/Modules/xxlimited.c
index c1a9be9b89..5041ac8284 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;