@@ -484,6 +484,7 @@ compute_abstract_methods(PyObject *self)
484
484
#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
485
485
486
486
/*[clinic input]
487
+ @permit_long_summary
487
488
_abc._abc_init
488
489
489
490
self: object
@@ -494,7 +495,7 @@ Internal ABC helper for class set-up. Should be never used outside abc module.
494
495
495
496
static PyObject *
496
497
_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 ]*/
498
499
{
499
500
_abcmodule_state * state = get_abc_state (module );
500
501
PyObject * data ;
@@ -543,6 +544,7 @@ _abc__abc_init(PyObject *module, PyObject *self)
543
544
}
544
545
545
546
/*[clinic input]
547
+ @permit_long_summary
546
548
_abc._abc_register
547
549
548
550
self: object
@@ -554,7 +556,7 @@ Internal ABC helper for subclasss registration. Should be never used outside abc
554
556
555
557
static PyObject *
556
558
_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 ]*/
558
560
{
559
561
if (!PyType_Check (subclass )) {
560
562
PyErr_SetString (PyExc_TypeError , "Can only register classes" );
@@ -606,6 +608,7 @@ _abc__abc_register_impl(PyObject *module, PyObject *self, PyObject *subclass)
606
608
607
609
608
610
/*[clinic input]
611
+ @permit_long_summary
609
612
_abc._abc_instancecheck
610
613
611
614
self: object
@@ -618,7 +621,7 @@ Internal ABC helper for instance checks. Should be never used outside abc module
618
621
static PyObject *
619
622
_abc__abc_instancecheck_impl (PyObject * module , PyObject * self ,
620
623
PyObject * instance )
621
- /*[clinic end generated code: output=b8b5148f63b6b56f input=a4f4525679261084 ]*/
624
+ /*[clinic end generated code: output=b8b5148f63b6b56f input=0bbc8da0ea346719 ]*/
622
625
{
623
626
PyObject * subtype , * result = NULL , * subclass = NULL ;
624
627
_abc_data * impl = _get_impl (module , self );
@@ -692,6 +695,7 @@ static int subclasscheck_check_registry(_abc_data *impl, PyObject *subclass,
692
695
PyObject * * result );
693
696
694
697
/*[clinic input]
698
+ @permit_long_summary
695
699
_abc._abc_subclasscheck
696
700
697
701
self: object
@@ -704,7 +708,7 @@ Internal ABC helper for subclasss checks. Should be never used outside abc modul
704
708
static PyObject *
705
709
_abc__abc_subclasscheck_impl (PyObject * module , PyObject * self ,
706
710
PyObject * subclass )
707
- /*[clinic end generated code: output=b56c9e4a530e3894 input=1d947243409d10b8 ]*/
711
+ /*[clinic end generated code: output=b56c9e4a530e3894 input=5bf1ef712f5d3610 ]*/
708
712
{
709
713
if (!PyType_Check (subclass )) {
710
714
PyErr_SetString (PyExc_TypeError , "issubclass() arg 1 must be a class" );
0 commit comments