@@ -455,8 +455,6 @@ typedef struct {
455455 PyObject * weakreflist ;
456456} teeobject ;
457457
458- static PyTypeObject teedataobject_type ;
459-
460458static PyObject *
461459teedataobject_newinternal (PyObject * it )
462460{
@@ -682,8 +680,6 @@ static PyTypeObject teedataobject_type = {
682680};
683681
684682
685- static PyTypeObject tee_type ;
686-
687683static PyObject *
688684tee_next (teeobject * to )
689685{
@@ -949,8 +945,6 @@ typedef struct {
949945 int firstpass ;
950946} cycleobject ;
951947
952- static PyTypeObject cycle_type ;
953-
954948/*[clinic input]
955949@classmethod
956950itertools.cycle.__new__
@@ -1147,8 +1141,6 @@ typedef struct {
11471141 long start ;
11481142} dropwhileobject ;
11491143
1150- static PyTypeObject dropwhile_type ;
1151-
11521144/*[clinic input]
11531145@classmethod
11541146itertools.dropwhile.__new__
@@ -1314,8 +1306,6 @@ typedef struct {
13141306 long stop ;
13151307} takewhileobject ;
13161308
1317- static PyTypeObject takewhile_type ;
1318-
13191309/*[clinic input]
13201310@classmethod
13211311itertools.takewhile.__new__
@@ -1734,8 +1724,6 @@ typedef struct {
17341724 PyObject * it ;
17351725} starmapobject ;
17361726
1737- static PyTypeObject starmap_type ;
1738-
17391727/*[clinic input]
17401728@classmethod
17411729itertools.starmap.__new__
@@ -2452,8 +2440,6 @@ typedef struct {
24522440 int stopped ; /* set to 1 when the iterator is exhausted */
24532441} combinationsobject ;
24542442
2455- static PyTypeObject combinations_type ;
2456-
24572443
24582444/*[clinic input]
24592445@classmethod
@@ -2786,8 +2772,6 @@ typedef struct {
27862772 int stopped ; /* set to 1 when the cwr iterator is exhausted */
27872773} cwrobject ;
27882774
2789- static PyTypeObject cwr_type ;
2790-
27912775/*[clinic input]
27922776@classmethod
27932777itertools.combinations_with_replacement.__new__
@@ -3111,8 +3095,6 @@ typedef struct {
31113095 int stopped ; /* set to 1 when the iterator is exhausted */
31123096} permutationsobject ;
31133097
3114- static PyTypeObject permutations_type ;
3115-
31163098/*[clinic input]
31173099@classmethod
31183100itertools.permutations.__new__
@@ -3472,8 +3454,6 @@ typedef struct {
34723454 PyObject * initial ;
34733455} accumulateobject ;
34743456
3475- static PyTypeObject accumulate_type ;
3476-
34773457/*[clinic input]
34783458@classmethod
34793459itertools.accumulate.__new__
@@ -3685,8 +3665,6 @@ typedef struct {
36853665 PyObject * selectors ;
36863666} compressobject ;
36873667
3688- static PyTypeObject compress_type ;
3689-
36903668/*[clinic input]
36913669@classmethod
36923670itertools.compress.__new__
@@ -3845,8 +3823,6 @@ typedef struct {
38453823 PyObject * it ;
38463824} filterfalseobject ;
38473825
3848- static PyTypeObject filterfalse_type ;
3849-
38503826/*[clinic input]
38513827@classmethod
38523828itertools.filterfalse.__new__
@@ -4017,8 +3993,6 @@ slow_mode: when cnt == PY_SSIZE_T_MAX, step is not int(1), or cnt is a float.
40173993 Either long_cnt or long_step may be a float, Fraction, or Decimal.
40183994*/
40193995
4020- static PyTypeObject count_type ;
4021-
40223996/*[clinic input]
40233997@classmethod
40243998itertools.count.__new__
0 commit comments