@@ -5477,7 +5477,11 @@ test_deprecate_positional_pos1_len1_optional
5477
5477
PyDoc_STRVAR (test_deprecate_positional_pos1_len1_optional__doc__ ,
5478
5478
"test_deprecate_positional_pos1_len1_optional($module, /, a, b=None)\n"
5479
5479
"--\n"
5480
- "\n" );
5480
+ "\n"
5481
+ "Note: Passing 2 positional arguments to\n"
5482
+ "test_deprecate_positional_pos1_len1_optional() is deprecated.\n"
5483
+ "Parameter \'b\' will become a keyword-only parameter in Python 3.14.\n"
5484
+ "" );
5481
5485
5482
5486
#define TEST_DEPRECATE_POSITIONAL_POS1_LEN1_OPTIONAL_METHODDEF \
5483
5487
{"test_deprecate_positional_pos1_len1_optional", _PyCFunction_CAST(test_deprecate_positional_pos1_len1_optional), METH_FASTCALL|METH_KEYWORDS, test_deprecate_positional_pos1_len1_optional__doc__},
@@ -5567,7 +5571,7 @@ test_deprecate_positional_pos1_len1_optional(PyObject *module, PyObject *const *
5567
5571
static PyObject *
5568
5572
test_deprecate_positional_pos1_len1_optional_impl (PyObject * module ,
5569
5573
PyObject * a , PyObject * b )
5570
- /*[clinic end generated code: output=09a6edec1ddcd469 input=89099f3dacd757da]*/
5574
+ /*[clinic end generated code: output=6c0fd9d94fa1e765 input=89099f3dacd757da]*/
5571
5575
5572
5576
5573
5577
/*[clinic input]
@@ -5580,7 +5584,11 @@ test_deprecate_positional_pos1_len1
5580
5584
PyDoc_STRVAR (test_deprecate_positional_pos1_len1__doc__ ,
5581
5585
"test_deprecate_positional_pos1_len1($module, /, a, b)\n"
5582
5586
"--\n"
5583
- "\n" );
5587
+ "\n"
5588
+ "Note: Passing 2 positional arguments to\n"
5589
+ "test_deprecate_positional_pos1_len1() is deprecated. Parameter \'b\'\n"
5590
+ "will become a keyword-only parameter in Python 3.14.\n"
5591
+ "" );
5584
5592
5585
5593
#define TEST_DEPRECATE_POSITIONAL_POS1_LEN1_METHODDEF \
5586
5594
{"test_deprecate_positional_pos1_len1", _PyCFunction_CAST(test_deprecate_positional_pos1_len1), METH_FASTCALL|METH_KEYWORDS, test_deprecate_positional_pos1_len1__doc__},
@@ -5661,7 +5669,7 @@ test_deprecate_positional_pos1_len1(PyObject *module, PyObject *const *args, Py_
5661
5669
static PyObject *
5662
5670
test_deprecate_positional_pos1_len1_impl (PyObject * module , PyObject * a ,
5663
5671
PyObject * b )
5664
- /*[clinic end generated code: output=52a2618293df747d input=1702bbab1e9b3b99]*/
5672
+ /*[clinic end generated code: output=22821a0fa9945d0c input=1702bbab1e9b3b99]*/
5665
5673
5666
5674
5667
5675
/*[clinic input]
@@ -5677,7 +5685,12 @@ test_deprecate_positional_pos1_len2_with_kwd
5677
5685
PyDoc_STRVAR (test_deprecate_positional_pos1_len2_with_kwd__doc__ ,
5678
5686
"test_deprecate_positional_pos1_len2_with_kwd($module, /, a, b, c, *, d)\n"
5679
5687
"--\n"
5680
- "\n" );
5688
+ "\n"
5689
+ "Note: Passing more than 1 positional argument to\n"
5690
+ "test_deprecate_positional_pos1_len2_with_kwd() is deprecated.\n"
5691
+ "Parameters \'b\' and \'c\' will become keyword-only parameters in Python\n"
5692
+ "3.14.\n"
5693
+ "" );
5681
5694
5682
5695
#define TEST_DEPRECATE_POSITIONAL_POS1_LEN2_WITH_KWD_METHODDEF \
5683
5696
{"test_deprecate_positional_pos1_len2_with_kwd", _PyCFunction_CAST(test_deprecate_positional_pos1_len2_with_kwd), METH_FASTCALL|METH_KEYWORDS, test_deprecate_positional_pos1_len2_with_kwd__doc__},
@@ -5768,7 +5781,7 @@ static PyObject *
5768
5781
test_deprecate_positional_pos1_len2_with_kwd_impl (PyObject * module ,
5769
5782
PyObject * a , PyObject * b ,
5770
5783
PyObject * c , PyObject * d )
5771
- /*[clinic end generated code: output=550aabea548589b4 input=28cdb885f6c34eab]*/
5784
+ /*[clinic end generated code: output=061d554ccc6b8f51 input=28cdb885f6c34eab]*/
5772
5785
5773
5786
5774
5787
/*[clinic input]
@@ -5780,7 +5793,11 @@ test_deprecate_positional_pos0_len1
5780
5793
PyDoc_STRVAR (test_deprecate_positional_pos0_len1__doc__ ,
5781
5794
"test_deprecate_positional_pos0_len1($module, /, a)\n"
5782
5795
"--\n"
5783
- "\n" );
5796
+ "\n"
5797
+ "Note: Passing positional arguments to\n"
5798
+ "test_deprecate_positional_pos0_len1() is deprecated. Parameter \'a\'\n"
5799
+ "will become a keyword-only parameter in Python 3.14.\n"
5800
+ "" );
5784
5801
5785
5802
#define TEST_DEPRECATE_POSITIONAL_POS0_LEN1_METHODDEF \
5786
5803
{"test_deprecate_positional_pos0_len1", _PyCFunction_CAST(test_deprecate_positional_pos0_len1), METH_FASTCALL|METH_KEYWORDS, test_deprecate_positional_pos0_len1__doc__},
@@ -5857,7 +5874,7 @@ test_deprecate_positional_pos0_len1(PyObject *module, PyObject *const *args, Py_
5857
5874
5858
5875
static PyObject *
5859
5876
test_deprecate_positional_pos0_len1_impl (PyObject * module , PyObject * a )
5860
- /*[clinic end generated code: output=66c63ec8d6903bde input=678206db25c0652c]*/
5877
+ /*[clinic end generated code: output=3e512117a5eda970 input=678206db25c0652c]*/
5861
5878
5862
5879
5863
5880
/*[clinic input]
@@ -5870,7 +5887,11 @@ test_deprecate_positional_pos0_len2
5870
5887
PyDoc_STRVAR (test_deprecate_positional_pos0_len2__doc__ ,
5871
5888
"test_deprecate_positional_pos0_len2($module, /, a, b)\n"
5872
5889
"--\n"
5873
- "\n" );
5890
+ "\n"
5891
+ "Note: Passing positional arguments to\n"
5892
+ "test_deprecate_positional_pos0_len2() is deprecated. Parameters \'a\'\n"
5893
+ "and \'b\' will become keyword-only parameters in Python 3.14.\n"
5894
+ "" );
5874
5895
5875
5896
#define TEST_DEPRECATE_POSITIONAL_POS0_LEN2_METHODDEF \
5876
5897
{"test_deprecate_positional_pos0_len2", _PyCFunction_CAST(test_deprecate_positional_pos0_len2), METH_FASTCALL|METH_KEYWORDS, test_deprecate_positional_pos0_len2__doc__},
@@ -5954,7 +5975,7 @@ test_deprecate_positional_pos0_len2(PyObject *module, PyObject *const *args, Py_
5954
5975
static PyObject *
5955
5976
test_deprecate_positional_pos0_len2_impl (PyObject * module , PyObject * a ,
5956
5977
PyObject * b )
5957
- /*[clinic end generated code: output=6b6df40aaf751b2e input=fae0d0b1d480c939]*/
5978
+ /*[clinic end generated code: output=d41da050a5b82dd0 input=fae0d0b1d480c939]*/
5958
5979
5959
5980
5960
5981
/*[clinic input]
@@ -5971,7 +5992,12 @@ PyDoc_STRVAR(test_deprecate_positional_pos0_len3_with_kwdonly__doc__,
5971
5992
"test_deprecate_positional_pos0_len3_with_kwdonly($module, /, a, b, c,\n"
5972
5993
" *, e)\n"
5973
5994
"--\n"
5974
- "\n" );
5995
+ "\n"
5996
+ "Note: Passing positional arguments to\n"
5997
+ "test_deprecate_positional_pos0_len3_with_kwdonly() is deprecated.\n"
5998
+ "Parameters \'a\', \'b\' and \'c\' will become keyword-only parameters in\n"
5999
+ "Python 3.14.\n"
6000
+ "" );
5975
6001
5976
6002
#define TEST_DEPRECATE_POSITIONAL_POS0_LEN3_WITH_KWDONLY_METHODDEF \
5977
6003
{"test_deprecate_positional_pos0_len3_with_kwdonly", _PyCFunction_CAST(test_deprecate_positional_pos0_len3_with_kwdonly), METH_FASTCALL|METH_KEYWORDS, test_deprecate_positional_pos0_len3_with_kwdonly__doc__},
@@ -6069,7 +6095,7 @@ test_deprecate_positional_pos0_len3_with_kwdonly_impl(PyObject *module,
6069
6095
PyObject * b ,
6070
6096
PyObject * c ,
6071
6097
PyObject * e )
6072
- /*[clinic end generated code: output=5c936993846d01a3 input=1b0121770c0c52e0]*/
6098
+ /*[clinic end generated code: output=c5d7ddfc139ddf31 input=1b0121770c0c52e0]*/
6073
6099
6074
6100
6075
6101
/*[clinic input]
@@ -6083,7 +6109,11 @@ test_deprecate_positional_pos2_len1
6083
6109
PyDoc_STRVAR (test_deprecate_positional_pos2_len1__doc__ ,
6084
6110
"test_deprecate_positional_pos2_len1($module, /, a, b, c)\n"
6085
6111
"--\n"
6086
- "\n" );
6112
+ "\n"
6113
+ "Note: Passing 3 positional arguments to\n"
6114
+ "test_deprecate_positional_pos2_len1() is deprecated. Parameter \'c\'\n"
6115
+ "will become a keyword-only parameter in Python 3.14.\n"
6116
+ "" );
6087
6117
6088
6118
#define TEST_DEPRECATE_POSITIONAL_POS2_LEN1_METHODDEF \
6089
6119
{"test_deprecate_positional_pos2_len1", _PyCFunction_CAST(test_deprecate_positional_pos2_len1), METH_FASTCALL|METH_KEYWORDS, test_deprecate_positional_pos2_len1__doc__},
@@ -6166,7 +6196,7 @@ test_deprecate_positional_pos2_len1(PyObject *module, PyObject *const *args, Py_
6166
6196
static PyObject *
6167
6197
test_deprecate_positional_pos2_len1_impl (PyObject * module , PyObject * a ,
6168
6198
PyObject * b , PyObject * c )
6169
- /*[clinic end generated code: output=2641e037296e3b61 input=e1d129689e69ec7c]*/
6199
+ /*[clinic end generated code: output=d80609e6b37ffb8a input=e1d129689e69ec7c]*/
6170
6200
6171
6201
6172
6202
/*[clinic input]
@@ -6181,7 +6211,11 @@ test_deprecate_positional_pos2_len2
6181
6211
PyDoc_STRVAR (test_deprecate_positional_pos2_len2__doc__ ,
6182
6212
"test_deprecate_positional_pos2_len2($module, /, a, b, c, d)\n"
6183
6213
"--\n"
6184
- "\n" );
6214
+ "\n"
6215
+ "Note: Passing more than 2 positional arguments to\n"
6216
+ "test_deprecate_positional_pos2_len2() is deprecated. Parameters \'c\'\n"
6217
+ "and \'d\' will become keyword-only parameters in Python 3.14.\n"
6218
+ "" );
6185
6219
6186
6220
#define TEST_DEPRECATE_POSITIONAL_POS2_LEN2_METHODDEF \
6187
6221
{"test_deprecate_positional_pos2_len2", _PyCFunction_CAST(test_deprecate_positional_pos2_len2), METH_FASTCALL|METH_KEYWORDS, test_deprecate_positional_pos2_len2__doc__},
@@ -6271,7 +6305,7 @@ static PyObject *
6271
6305
test_deprecate_positional_pos2_len2_impl (PyObject * module , PyObject * a ,
6272
6306
PyObject * b , PyObject * c ,
6273
6307
PyObject * d )
6274
- /*[clinic end generated code: output=4a9068ef8fee61f6 input=0d53533463a12792]*/
6308
+ /*[clinic end generated code: output=1c10d6197562319f input=0d53533463a12792]*/
6275
6309
6276
6310
6277
6311
/*[clinic input]
@@ -6289,7 +6323,12 @@ PyDoc_STRVAR(test_deprecate_positional_pos2_len3_with_kwdonly__doc__,
6289
6323
"test_deprecate_positional_pos2_len3_with_kwdonly($module, /, a, b, c,\n"
6290
6324
" d, *, e)\n"
6291
6325
"--\n"
6292
- "\n" );
6326
+ "\n"
6327
+ "Note: Passing more than 2 positional arguments to\n"
6328
+ "test_deprecate_positional_pos2_len3_with_kwdonly() is deprecated.\n"
6329
+ "Parameters \'c\' and \'d\' will become keyword-only parameters in Python\n"
6330
+ "3.14.\n"
6331
+ "" );
6293
6332
6294
6333
#define TEST_DEPRECATE_POSITIONAL_POS2_LEN3_WITH_KWDONLY_METHODDEF \
6295
6334
{"test_deprecate_positional_pos2_len3_with_kwdonly", _PyCFunction_CAST(test_deprecate_positional_pos2_len3_with_kwdonly), METH_FASTCALL|METH_KEYWORDS, test_deprecate_positional_pos2_len3_with_kwdonly__doc__},
@@ -6388,4 +6427,4 @@ test_deprecate_positional_pos2_len3_with_kwdonly_impl(PyObject *module,
6388
6427
PyObject * c ,
6389
6428
PyObject * d ,
6390
6429
PyObject * e )
6391
- /*[clinic end generated code: output=1154c2e3e798948c input=154fd450448d8935]*/
6430
+ /*[clinic end generated code: output=d32375ffce63d3db input=154fd450448d8935]*/
0 commit comments