author | Gregory Szorc <gregory.szorc@gmail.com> |
Thu, 13 Oct 2016 13:14:14 +0200 | |
changeset 30167 | 1e5ff5ae1d2b |
parent 30166 | 102e6ef5bb3a |
child 30168 | 1a327889c13c |
mercurial/dirs.c | file | annotate | diff | comparison | revisions |
--- a/mercurial/dirs.c Thu Oct 13 09:27:37 2016 +0100 +++ b/mercurial/dirs.c Thu Oct 13 13:14:14 2016 +0200 @@ -291,7 +291,7 @@ {NULL} /* Sentinel */ }; -static PyTypeObject dirsType = { PyObject_HEAD_INIT(NULL) }; +static PyTypeObject dirsType = { PyVarObject_HEAD_INIT(NULL, 0) }; void dirs_module_init(PyObject *mod) {