@@ -1701,6 +1701,10 @@ static PyGetSetDef WraptCallableObjectProxy_getset[] = {
17011701 (setter )WraptObjectProxy_set_module , 0 },
17021702 { "__doc__" , (getter )WraptObjectProxy_get_doc ,
17031703 (setter )WraptObjectProxy_set_doc , 0 },
1704+ #if PY_VERSION_HEX >= 0x03100000
1705+ { "__annotations__" , (getter )WraptObjectProxy_get_annotations ,
1706+ (setter )WraptObjectProxy_set_annotations , 0 },
1707+ #endif
17041708 { NULL },
17051709};
17061710
@@ -1912,6 +1916,10 @@ static PyGetSetDef WraptPartialCallableObjectProxy_getset[] = {
19121916 (setter )WraptObjectProxy_set_module , 0 },
19131917 { "__doc__" , (getter )WraptObjectProxy_get_doc ,
19141918 (setter )WraptObjectProxy_set_doc , 0 },
1919+ #if PY_VERSION_HEX >= 0x03100000
1920+ { "__annotations__" , (getter )WraptObjectProxy_get_annotations ,
1921+ (setter )WraptObjectProxy_set_annotations , 0 },
1922+ #endif
19151923 { NULL },
19161924};
19171925
@@ -2448,6 +2456,10 @@ static PyGetSetDef WraptFunctionWrapperBase_getset[] = {
24482456 (setter )WraptObjectProxy_set_module , 0 },
24492457 { "__doc__" , (getter )WraptObjectProxy_get_doc ,
24502458 (setter )WraptObjectProxy_set_doc , 0 },
2459+ #if PY_VERSION_HEX >= 0x03100000
2460+ { "__annotations__" , (getter )WraptObjectProxy_get_annotations ,
2461+ (setter )WraptObjectProxy_set_annotations , 0 },
2462+ #endif
24512463 { "_self_instance" , (getter )WraptFunctionWrapperBase_get_self_instance ,
24522464 NULL , 0 },
24532465 { "_self_wrapper" , (getter )WraptFunctionWrapperBase_get_self_wrapper ,
@@ -2637,6 +2649,10 @@ static PyGetSetDef WraptBoundFunctionWrapper_getset[] = {
26372649 (setter )WraptObjectProxy_set_module , 0 },
26382650 { "__doc__" , (getter )WraptObjectProxy_get_doc ,
26392651 (setter )WraptObjectProxy_set_doc , 0 },
2652+ #if PY_VERSION_HEX >= 0x03100000
2653+ { "__annotations__" , (getter )WraptObjectProxy_get_annotations ,
2654+ (setter )WraptObjectProxy_set_annotations , 0 },
2655+ #endif
26402656 { NULL },
26412657};
26422658
@@ -2747,6 +2763,10 @@ static PyGetSetDef WraptFunctionWrapper_getset[] = {
27472763 (setter )WraptObjectProxy_set_module , 0 },
27482764 { "__doc__" , (getter )WraptObjectProxy_get_doc ,
27492765 (setter )WraptObjectProxy_set_doc , 0 },
2766+ #if PY_VERSION_HEX >= 0x03100000
2767+ { "__annotations__" , (getter )WraptObjectProxy_get_annotations ,
2768+ (setter )WraptObjectProxy_set_annotations , 0 },
2769+ #endif
27502770 { NULL },
27512771};
27522772
0 commit comments