[Python-checkins] cpython (merge 3.6 -> default): merge 3.6 (#29398)

benjamin.peterson python-checkins at python.org
Wed Feb 1 02:31:29 EST 2017


https://hg.python.org/cpython/rev/0e8c13da4f32
changeset: 106358:0e8c13da4f32
parent: 106355:19c4528f53b0
parent: 106357:b0463c5073fc
user: Benjamin Peterson <benjamin at python.org>
date: Tue Jan 31 23:31:20 2017 -0800
summary:
 merge 3.6 (#29398)
files:
 Modules/xxlimited.c | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/xxlimited.c b/Modules/xxlimited.c
--- a/Modules/xxlimited.c
+++ b/Modules/xxlimited.c
@@ -31,7 +31,7 @@
 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;
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /