@@ -5358,6 +5358,75 @@ static int
5358
5358
Test_property_set_impl (TestObj * self , PyObject * value )
5359
5359
/*[clinic end generated code: output=e4342fe9bb1d7817 input=3bc3f46a23c83a88]*/
5360
5360
5361
+ /*[clinic input]
5362
+ @setter
5363
+ Test.setter_first_with_docstr
5364
+ [clinic start generated code]*/
5365
+
5366
+ #if !defined(Test_setter_first_with_docstr_DOCSTR )
5367
+ # define Test_setter_first_with_docstr_DOCSTR NULL
5368
+ #endif
5369
+ #if defined(TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF )
5370
+ # undef TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF
5371
+ # define TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF {"setter_first_with_docstr", (getter)Test_setter_first_with_docstr_get, (setter)Test_setter_first_with_docstr_set, Test_setter_first_with_docstr_DOCSTR},
5372
+ #else
5373
+ # define TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF {"setter_first_with_docstr", NULL, (setter)Test_setter_first_with_docstr_set, NULL},
5374
+ #endif
5375
+
5376
+ static int
5377
+ Test_setter_first_with_docstr_set_impl (TestObj * self , PyObject * value );
5378
+
5379
+ static int
5380
+ Test_setter_first_with_docstr_set (TestObj * self , PyObject * value , void * Py_UNUSED (context ))
5381
+ {
5382
+ int return_value ;
5383
+
5384
+ return_value = Test_setter_first_with_docstr_set_impl (self , value );
5385
+
5386
+ return return_value ;
5387
+ }
5388
+
5389
+ static int
5390
+ Test_setter_first_with_docstr_set_impl (TestObj * self , PyObject * value )
5391
+ /*[clinic end generated code: output=e4d76b558a4061db input=31a045ce11bbe961]*/
5392
+
5393
+ /*[clinic input]
5394
+ @getter
5395
+ Test.setter_first_with_docstr
5396
+
5397
+ my silly docstring
5398
+ [clinic start generated code]*/
5399
+
5400
+ PyDoc_STRVAR (Test_setter_first_with_docstr__doc__ ,
5401
+ "my silly docstring ");
5402
+ #if defined(Test_setter_first_with_docstr_DOCSTR )
5403
+ # undef Test_setter_first_with_docstr_DOCSTR
5404
+ #endif
5405
+ #define Test_setter_first_with_docstr_DOCSTR Test_setter_first_with_docstr__doc__
5406
+
5407
+ #if !defined(Test_setter_first_with_docstr_DOCSTR )
5408
+ # define Test_setter_first_with_docstr_DOCSTR NULL
5409
+ #endif
5410
+ #if defined(TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF )
5411
+ # undef TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF
5412
+ # define TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF {"setter_first_with_docstr" , (getter )Test_setter_first_with_docstr_get , (setter )Test_setter_first_with_docstr_set , Test_setter_first_with_docstr_DOCSTR },
5413
+ #else
5414
+ # define TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF {"setter_first_with_docstr" , (getter )Test_setter_first_with_docstr_get , NULL , Test_setter_first_with_docstr_DOCSTR },
5415
+ #endif
5416
+
5417
+ static PyObject *
5418
+ Test_setter_first_with_docstr_get_impl (TestObj * self );
5419
+
5420
+ static PyObject *
5421
+ Test_setter_first_with_docstr_get (TestObj * self , void * Py_UNUSED (context ))
5422
+ {
5423
+ return Test_setter_first_with_docstr_get_impl (self );
5424
+ }
5425
+
5426
+ static PyObject *
5427
+ Test_setter_first_with_docstr_get_impl (TestObj * self )
5428
+ /*[clinic end generated code: output=749a30266f9fb443 input=10af4e43b3cb34dc]*/
5429
+
5361
5430
/*[clinic input]
5362
5431
output push
5363
5432
output preset buffer
0 commit comments