@@ -1444,26 +1444,24 @@ _testclinic_TestClass_defclass_posonly_varpos_impl(PyObject *self,
14441444
14451445
14461446/*[clinic input]
1447- @disable fastcall
14481447@classmethod
1449- _testclinic.TestClass.class_method as varpos_no_fastcall
1448+ _testclinic.TestClass.__new__ as varpos_no_fastcall
14501449
14511450 *args: tuple
14521451
14531452[clinic start generated code]*/
14541453
14551454static PyObject *
14561455varpos_no_fastcall_impl (PyTypeObject * type , PyObject * args )
1457- /*[clinic end generated code: output=04e94f2898bb2dde input=10c2251e9ac6baf3 ]*/
1456+ /*[clinic end generated code: output=04e94f2898bb2dde input=c5d3d30a6589f97f ]*/
14581457{
14591458 return Py_NewRef (args );
14601459}
14611460
14621461
14631462/*[clinic input]
1464- @disable fastcall
14651463@classmethod
1466- _testclinic.TestClass.class_method as posonly_varpos_no_fastcall
1464+ _testclinic.TestClass.__new__ as posonly_varpos_no_fastcall
14671465
14681466 a: object
14691467 b: object
@@ -1475,16 +1473,15 @@ _testclinic.TestClass.class_method as posonly_varpos_no_fastcall
14751473static PyObject *
14761474posonly_varpos_no_fastcall_impl (PyTypeObject * type , PyObject * a , PyObject * b ,
14771475 PyObject * args )
1478- /*[clinic end generated code: output=b0a0425719f69f5a input=f7c75501a787c7af ]*/
1476+ /*[clinic end generated code: output=b0a0425719f69f5a input=10f29f2c2c6bfdc4 ]*/
14791477{
14801478 return pack_arguments_newref (3 , a , b , args );
14811479}
14821480
14831481
14841482/*[clinic input]
1485- @disable fastcall
14861483@classmethod
1487- _testclinic.TestClass.class_method as posonly_req_opt_varpos_no_fastcall
1484+ _testclinic.TestClass.__new__ as posonly_req_opt_varpos_no_fastcall
14881485
14891486 a: object
14901487 b: object = False
@@ -1496,16 +1493,15 @@ _testclinic.TestClass.class_method as posonly_req_opt_varpos_no_fastcall
14961493static PyObject *
14971494posonly_req_opt_varpos_no_fastcall_impl (PyTypeObject * type , PyObject * a ,
14981495 PyObject * b , PyObject * args )
1499- /*[clinic end generated code: output=3c44915b1a554e2d input=701bf93e7572e6b3 ]*/
1496+ /*[clinic end generated code: output=3c44915b1a554e2d input=d319302a8748147c ]*/
15001497{
15011498 return pack_arguments_newref (3 , a , b , args );
15021499}
15031500
15041501
15051502/*[clinic input]
1506- @disable fastcall
15071503@classmethod
1508- _testclinic.TestClass.class_method as posonly_poskw_varpos_no_fastcall
1504+ _testclinic.TestClass.__new__ as posonly_poskw_varpos_no_fastcall
15091505
15101506 a: object
15111507 /
@@ -1517,16 +1513,15 @@ _testclinic.TestClass.class_method as posonly_poskw_varpos_no_fastcall
15171513static PyObject *
15181514posonly_poskw_varpos_no_fastcall_impl (PyTypeObject * type , PyObject * a ,
15191515 PyObject * b , PyObject * args )
1520- /*[clinic end generated code: output=6ad74bed4bdc7f96 input=2bbbc74dc92ba7ba ]*/
1516+ /*[clinic end generated code: output=6ad74bed4bdc7f96 input=1f8c113e749414a3 ]*/
15211517{
15221518 return pack_arguments_newref (3 , a , b , args );
15231519}
15241520
15251521
15261522/*[clinic input]
1527- @disable fastcall
15281523@classmethod
1529- _testclinic.TestClass.class_method as varpos_array_no_fastcall
1524+ _testclinic.TestClass.__new__ as varpos_array_no_fastcall
15301525
15311526 *args: array
15321527
@@ -1535,16 +1530,15 @@ _testclinic.TestClass.class_method as varpos_array_no_fastcall
15351530static PyObject *
15361531varpos_array_no_fastcall_impl (PyTypeObject * type , PyObject * const * args ,
15371532 Py_ssize_t args_length )
1538- /*[clinic end generated code: output=f99d984346c60d42 input=de625878254ecac0 ]*/
1533+ /*[clinic end generated code: output=f99d984346c60d42 input=368d8eea6de48c12 ]*/
15391534{
15401535 return _PyTuple_FromArray (args , args_length );
15411536}
15421537
15431538
15441539/*[clinic input]
1545- @disable fastcall
15461540@classmethod
1547- _testclinic.TestClass.class_method as posonly_varpos_array_no_fastcall
1541+ _testclinic.TestClass.__new__ as posonly_varpos_array_no_fastcall
15481542
15491543 a: object
15501544 b: object
@@ -1557,16 +1551,15 @@ static PyObject *
15571551posonly_varpos_array_no_fastcall_impl (PyTypeObject * type , PyObject * a ,
15581552 PyObject * b , PyObject * const * args ,
15591553 Py_ssize_t args_length )
1560- /*[clinic end generated code: output=1eec4da1fb5b5978 input=15adeb514423f485 ]*/
1554+ /*[clinic end generated code: output=1eec4da1fb5b5978 input=7330c8d819a23548 ]*/
15611555{
15621556 return pack_arguments_2pos_varpos (a , b , args , args_length );
15631557}
15641558
15651559
15661560/*[clinic input]
1567- @disable fastcall
15681561@classmethod
1569- _testclinic.TestClass.class_method as posonly_req_opt_varpos_array_no_fastcall
1562+ _testclinic.TestClass.__new__ as posonly_req_opt_varpos_array_no_fastcall
15701563
15711564 a: object
15721565 b: object = False
@@ -1580,16 +1573,15 @@ posonly_req_opt_varpos_array_no_fastcall_impl(PyTypeObject *type,
15801573 PyObject * a , PyObject * b ,
15811574 PyObject * const * args ,
15821575 Py_ssize_t args_length )
1583- /*[clinic end generated code: output=88041c2176135218 input=445ff173a49709d5 ]*/
1576+ /*[clinic end generated code: output=88041c2176135218 input=7f5fd34ee5f9e0bf ]*/
15841577{
15851578 return pack_arguments_2pos_varpos (a , b , args , args_length );
15861579}
15871580
15881581
15891582/*[clinic input]
1590- @disable fastcall
15911583@classmethod
1592- _testclinic.TestClass.class_method as posonly_poskw_varpos_array_no_fastcall
1584+ _testclinic.TestClass.__new__ as posonly_poskw_varpos_array_no_fastcall
15931585
15941586 a: object
15951587 /
@@ -1603,7 +1595,7 @@ posonly_poskw_varpos_array_no_fastcall_impl(PyTypeObject *type, PyObject *a,
16031595 PyObject * b ,
16041596 PyObject * const * args ,
16051597 Py_ssize_t args_length )
1606- /*[clinic end generated code: output=70eda18c3667681e input=c0ac0f6b990f553c ]*/
1598+ /*[clinic end generated code: output=70eda18c3667681e input=2b0fcd7bd9bb865c ]*/
16071599{
16081600 return pack_arguments_2pos_varpos (a , b , args , args_length );
16091601}
@@ -1614,27 +1606,28 @@ static struct PyMethodDef test_class_methods[] = {
16141606 _TESTCLINIC_TESTCLASS_DEFCLASS_VARPOS_METHODDEF
16151607 _TESTCLINIC_TESTCLASS_DEFCLASS_POSONLY_VARPOS_METHODDEF
16161608
1617- {"varpos_no_fastcall" , _PyCFunction_CAST (varpos_no_fastcall ),
1618- METH_VARARGS |METH_CLASS , "" },
1619- {"posonly_varpos_no_fastcall" , _PyCFunction_CAST (posonly_varpos_no_fastcall ),
1620- METH_VARARGS |METH_CLASS , "" },
1621- {"posonly_req_opt_varpos_no_fastcall" , _PyCFunction_CAST (posonly_req_opt_varpos_no_fastcall ),
1622- METH_VARARGS |METH_CLASS , "" },
1623- {"posonly_poskw_varpos_no_fastcall" , _PyCFunction_CAST (posonly_poskw_varpos_no_fastcall ),
1624- METH_VARARGS |METH_KEYWORDS |METH_CLASS , "" },
1609+ {"varpos_no_fastcall" , varpos_no_fastcall ,
1610+ METH_VARARGS |METH_CLASS , PyDoc_STR ("" )},
1611+ {"posonly_varpos_no_fastcall" , posonly_varpos_no_fastcall ,
1612+ METH_VARARGS |METH_CLASS , PyDoc_STR ("" )},
1613+ {"posonly_req_opt_varpos_no_fastcall" , posonly_req_opt_varpos_no_fastcall ,
1614+ METH_VARARGS |METH_CLASS , PyDoc_STR ("" )},
1615+ {"posonly_poskw_varpos_no_fastcall" ,
1616+ _PyCFunction_CAST (posonly_poskw_varpos_no_fastcall ),
1617+ METH_VARARGS |METH_KEYWORDS |METH_CLASS , PyDoc_STR ("" )},
16251618
16261619 {"varpos_array_no_fastcall" ,
1627- _PyCFunction_CAST ( varpos_array_no_fastcall ) ,
1628- METH_VARARGS |METH_KEYWORDS | METH_CLASS , "" },
1620+ varpos_array_no_fastcall ,
1621+ METH_VARARGS |METH_CLASS , PyDoc_STR ( "" ) },
16291622 {"posonly_varpos_array_no_fastcall" ,
1630- _PyCFunction_CAST ( posonly_varpos_array_no_fastcall ) ,
1631- METH_VARARGS |METH_KEYWORDS | METH_CLASS , "" },
1623+ posonly_varpos_array_no_fastcall ,
1624+ METH_VARARGS |METH_CLASS , PyDoc_STR ( "" ) },
16321625 {"posonly_req_opt_varpos_array_no_fastcall" ,
1633- _PyCFunction_CAST ( posonly_req_opt_varpos_array_no_fastcall ) ,
1634- METH_VARARGS |METH_KEYWORDS | METH_CLASS , "" },
1626+ posonly_req_opt_varpos_array_no_fastcall ,
1627+ METH_VARARGS |METH_CLASS , PyDoc_STR ( "" ) },
16351628 {"posonly_poskw_varpos_array_no_fastcall" ,
16361629 _PyCFunction_CAST (posonly_poskw_varpos_array_no_fastcall ),
1637- METH_VARARGS |METH_KEYWORDS |METH_CLASS , "" },
1630+ METH_VARARGS |METH_KEYWORDS |METH_CLASS , PyDoc_STR ( "" ) },
16381631
16391632 {NULL , NULL }
16401633};
0 commit comments