@@ -484,6 +484,7 @@ compute_abstract_methods(PyObject *self)
484484#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
485485
486486/*[clinic input]
487+ @permit_long_summary
487488_abc._abc_init
488489
489490 self: object
@@ -494,7 +495,7 @@ Internal ABC helper for class set-up. Should be never used outside abc module.
494495
495496static PyObject *
496497_abc__abc_init (PyObject * module , PyObject * self )
497- /*[clinic end generated code: output=594757375714cda1 input=8d7fe470ff77f029 ]*/
498+ /*[clinic end generated code: output=594757375714cda1 input=0b3513f947736d39 ]*/
498499{
499500 _abcmodule_state * state = get_abc_state (module );
500501 PyObject * data ;
@@ -543,6 +544,7 @@ _abc__abc_init(PyObject *module, PyObject *self)
543544}
544545
545546/*[clinic input]
547+ @permit_long_summary
546548_abc._abc_register
547549
548550 self: object
@@ -554,7 +556,7 @@ Internal ABC helper for subclasss registration. Should be never used outside abc
554556
555557static PyObject *
556558_abc__abc_register_impl (PyObject * module , PyObject * self , PyObject * subclass )
557- /*[clinic end generated code: output=7851e7668c963524 input=ca589f8c3080e67f ]*/
559+ /*[clinic end generated code: output=7851e7668c963524 input=135ab13a581b4414 ]*/
558560{
559561 if (!PyType_Check (subclass )) {
560562 PyErr_SetString (PyExc_TypeError , "Can only register classes" );
@@ -606,6 +608,7 @@ _abc__abc_register_impl(PyObject *module, PyObject *self, PyObject *subclass)
606608
607609
608610/*[clinic input]
611+ @permit_long_summary
609612_abc._abc_instancecheck
610613
611614 self: object
@@ -618,7 +621,7 @@ Internal ABC helper for instance checks. Should be never used outside abc module
618621static PyObject *
619622_abc__abc_instancecheck_impl (PyObject * module , PyObject * self ,
620623 PyObject * instance )
621- /*[clinic end generated code: output=b8b5148f63b6b56f input=a4f4525679261084 ]*/
624+ /*[clinic end generated code: output=b8b5148f63b6b56f input=0bbc8da0ea346719 ]*/
622625{
623626 PyObject * subtype , * result = NULL , * subclass = NULL ;
624627 _abc_data * impl = _get_impl (module , self );
@@ -692,6 +695,7 @@ static int subclasscheck_check_registry(_abc_data *impl, PyObject *subclass,
692695 PyObject * * result );
693696
694697/*[clinic input]
698+ @permit_long_summary
695699_abc._abc_subclasscheck
696700
697701 self: object
@@ -704,7 +708,7 @@ Internal ABC helper for subclasss checks. Should be never used outside abc modul
704708static PyObject *
705709_abc__abc_subclasscheck_impl (PyObject * module , PyObject * self ,
706710 PyObject * subclass )
707- /*[clinic end generated code: output=b56c9e4a530e3894 input=1d947243409d10b8 ]*/
711+ /*[clinic end generated code: output=b56c9e4a530e3894 input=5bf1ef712f5d3610 ]*/
708712{
709713 if (!PyType_Check (subclass )) {
710714 PyErr_SetString (PyExc_TypeError , "issubclass() arg 1 must be a class" );
0 commit comments