gh-107609: Fix duplicate module check in Argument Clinic (#107610)

Also remove duplicate module def from _testcapi.
This commit is contained in:
Erlend E. Aasland 2023-08-04 07:28:25 +02:00 committed by GitHub
parent e52e87c349
commit a443c310ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 3 deletions

View file

@ -155,10 +155,9 @@ VectorCallClass_vectorcall(PyObject *callable,
}
/*[clinic input]
module _testcapi
class _testcapi.VectorCallClass "PyObject *" "&PyType_Type"
[clinic start generated code]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=8423a8e919f2f0df]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=95c63c1a47f9a995]*/
/*[clinic input]
_testcapi.VectorCallClass.set_vectorcall