@@ -5011,6 +5011,75 @@ static int
5011
5011
Test_property_set_impl (TestObj * self , PyObject * value )
5012
5012
/*[clinic end generated code: output=e4342fe9bb1d7817 input=3bc3f46a23c83a88]*/
5013
5013
5014
+ /*[clinic input]
5015
+ @setter
5016
+ Test.setter_first_with_docstr
5017
+ [clinic start generated code]*/
5018
+
5019
+ #if !defined(Test_setter_first_with_docstr_DOCSTR )
5020
+ # define Test_setter_first_with_docstr_DOCSTR NULL
5021
+ #endif
5022
+ #if defined(TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF )
5023
+ # undef TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF
5024
+ # 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},
5025
+ #else
5026
+ # define TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF {"setter_first_with_docstr", NULL, (setter)Test_setter_first_with_docstr_set, NULL},
5027
+ #endif
5028
+
5029
+ static int
5030
+ Test_setter_first_with_docstr_set_impl (TestObj * self , PyObject * value );
5031
+
5032
+ static int
5033
+ Test_setter_first_with_docstr_set (TestObj * self , PyObject * value , void * Py_UNUSED (context ))
5034
+ {
5035
+ int return_value ;
5036
+
5037
+ return_value = Test_setter_first_with_docstr_set_impl (self , value );
5038
+
5039
+ return return_value ;
5040
+ }
5041
+
5042
+ static int
5043
+ Test_setter_first_with_docstr_set_impl (TestObj * self , PyObject * value )
5044
+ /*[clinic end generated code: output=e4d76b558a4061db input=31a045ce11bbe961]*/
5045
+
5046
+ /*[clinic input]
5047
+ @getter
5048
+ Test.setter_first_with_docstr
5049
+
5050
+ my silly docstring
5051
+ [clinic start generated code]*/
5052
+
5053
+ PyDoc_STRVAR (Test_setter_first_with_docstr__doc__ ,
5054
+ "my silly docstring ");
5055
+ #if defined(Test_setter_first_with_docstr_DOCSTR )
5056
+ # undef Test_setter_first_with_docstr_DOCSTR
5057
+ #endif
5058
+ #define Test_setter_first_with_docstr_DOCSTR Test_setter_first_with_docstr__doc__
5059
+
5060
+ #if !defined(Test_setter_first_with_docstr_DOCSTR )
5061
+ # define Test_setter_first_with_docstr_DOCSTR NULL
5062
+ #endif
5063
+ #if defined(TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF )
5064
+ # undef TEST_SETTER_FIRST_WITH_DOCSTR_GETSETDEF
5065
+ # 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 },
5066
+ #else
5067
+ # 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 },
5068
+ #endif
5069
+
5070
+ static PyObject *
5071
+ Test_setter_first_with_docstr_get_impl (TestObj * self );
5072
+
5073
+ static PyObject *
5074
+ Test_setter_first_with_docstr_get (TestObj * self , void * Py_UNUSED (context ))
5075
+ {
5076
+ return Test_setter_first_with_docstr_get_impl (self );
5077
+ }
5078
+
5079
+ static PyObject *
5080
+ Test_setter_first_with_docstr_get_impl (TestObj * self )
5081
+ /*[clinic end generated code: output=749a30266f9fb443 input=10af4e43b3cb34dc]*/
5082
+
5014
5083
/*[clinic input]
5015
5084
output push
5016
5085
output preset buffer
0 commit comments