diff options
author | Victor Stinner <vstinner@python.org> | 2022-01-21 22:33:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-21 22:33:43 (GMT) |
commit | ac1f152421fab3ac854fe4565c575b306e2bb4b5 (patch) | |
tree | 90014ae2e0e269f96472fdec37a9d88a4fed010b /Objects/tupleobject.c | |
parent | 7835cbf949c413a746324721a352cc72670a8a36 (diff) | |
download | cpython-ac1f152421fab3ac854fe4565c575b306e2bb4b5.zip cpython-ac1f152421fab3ac854fe4565c575b306e2bb4b5.tar.gz cpython-ac1f152421fab3ac854fe4565c575b306e2bb4b5.tar.bz2 |
bpo-46417: Use _PyType_CAST() in Objects directory (GH-30764)
Diffstat (limited to 'Objects/tupleobject.c')
-rw-r--r-- | Objects/tupleobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index 2051c18..86f541a 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -817,7 +817,7 @@ tuple_vectorcall(PyObject *type, PyObject * const*args, } if (nargs) { - return tuple_new_impl((PyTypeObject *)type, args[0]); + return tuple_new_impl(_PyType_CAST(type), args[0]); } else { return tuple_get_empty(); |