]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39873: PyObject_Init() uses PyObject_INIT() (GH-18804)
authorVictor Stinner <vstinner@python.org>
Fri, 6 Mar 2020 14:55:14 +0000 (15:55 +0100)
committerGitHub <noreply@github.com>
Fri, 6 Mar 2020 14:55:14 +0000 (15:55 +0100)
commit1fb5a9f394a6fdf62e21b96080c3257c959cf8c9
tree12ce1e28d5b4de89c85377168a214442319d9c35
parent7598a93139a8d76a331d5f30121277031044d35b
bpo-39873: PyObject_Init() uses PyObject_INIT() (GH-18804)

Avoid duplicated code:

* PyObject_Init() uses PyObject_INIT()
* PyObject_InitVar() uses PyObject_INIT_VAR()
Objects/object.c