]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39573: Use Py_TYPE() macro in Objects directory (GH-18392)
authorVictor Stinner <vstinner@python.org>
Fri, 7 Feb 2020 02:04:21 +0000 (03:04 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Feb 2020 02:04:21 +0000 (03:04 +0100)
commit58ac700fb09497df14d4492b6f820109490b2b88
treed6a87b277dd133543974b1b24cf65df4c5c8eff4
parenta102ed7d2f0e7e05438f14d5fb72ca0358602249
bpo-39573: Use Py_TYPE() macro in Objects directory (GH-18392)

Replace direct access to PyObject.ob_type with Py_TYPE().
20 files changed:
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/call.c
Objects/cellobject.c
Objects/classobject.c
Objects/codeobject.c
Objects/complexobject.c
Objects/descrobject.c
Objects/dictobject.c
Objects/floatobject.c
Objects/funcobject.c
Objects/interpreteridobject.c
Objects/listobject.c
Objects/longobject.c
Objects/methodobject.c
Objects/namespaceobject.c
Objects/object.c
Objects/rangeobject.c
Objects/typeobject.c
Objects/unicodeobject.c