Mercurial > public > mercurial-scm > hg-stable
diff mercurial/parsers.c @ 16621:8c3c9031f5aa
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 11 May 2012 14:48:24 +0200 |
parents | 6bae941b58ad 48e42f984074 |
children | 1435866c1937 |
line wrap: on
line diff
--- a/mercurial/parsers.c Tue May 08 14:48:50 2012 -0700 +++ b/mercurial/parsers.c Fri May 11 14:48:24 2012 +0200 @@ -1113,7 +1113,6 @@ 0, /* tp_dictoffset */ (initproc)index_init, /* tp_init */ 0, /* tp_alloc */ - PyType_GenericNew, /* tp_new */ }; /* @@ -1171,6 +1170,7 @@ static void module_init(PyObject *mod) { + indexType.tp_new = PyType_GenericNew; if (PyType_Ready(&indexType) < 0) return; Py_INCREF(&indexType);