@@ -455,8 +455,6 @@ typedef struct {
455
455
PyObject * weakreflist ;
456
456
} teeobject ;
457
457
458
- static PyTypeObject teedataobject_type ;
459
-
460
458
static PyObject *
461
459
teedataobject_newinternal (PyObject * it )
462
460
{
@@ -682,8 +680,6 @@ static PyTypeObject teedataobject_type = {
682
680
};
683
681
684
682
685
- static PyTypeObject tee_type ;
686
-
687
683
static PyObject *
688
684
tee_next (teeobject * to )
689
685
{
@@ -949,8 +945,6 @@ typedef struct {
949
945
int firstpass ;
950
946
} cycleobject ;
951
947
952
- static PyTypeObject cycle_type ;
953
-
954
948
/*[clinic input]
955
949
@classmethod
956
950
itertools.cycle.__new__
@@ -1147,8 +1141,6 @@ typedef struct {
1147
1141
long start ;
1148
1142
} dropwhileobject ;
1149
1143
1150
- static PyTypeObject dropwhile_type ;
1151
-
1152
1144
/*[clinic input]
1153
1145
@classmethod
1154
1146
itertools.dropwhile.__new__
@@ -1314,8 +1306,6 @@ typedef struct {
1314
1306
long stop ;
1315
1307
} takewhileobject ;
1316
1308
1317
- static PyTypeObject takewhile_type ;
1318
-
1319
1309
/*[clinic input]
1320
1310
@classmethod
1321
1311
itertools.takewhile.__new__
@@ -1734,8 +1724,6 @@ typedef struct {
1734
1724
PyObject * it ;
1735
1725
} starmapobject ;
1736
1726
1737
- static PyTypeObject starmap_type ;
1738
-
1739
1727
/*[clinic input]
1740
1728
@classmethod
1741
1729
itertools.starmap.__new__
@@ -2452,8 +2440,6 @@ typedef struct {
2452
2440
int stopped ; /* set to 1 when the iterator is exhausted */
2453
2441
} combinationsobject ;
2454
2442
2455
- static PyTypeObject combinations_type ;
2456
-
2457
2443
2458
2444
/*[clinic input]
2459
2445
@classmethod
@@ -2786,8 +2772,6 @@ typedef struct {
2786
2772
int stopped ; /* set to 1 when the cwr iterator is exhausted */
2787
2773
} cwrobject ;
2788
2774
2789
- static PyTypeObject cwr_type ;
2790
-
2791
2775
/*[clinic input]
2792
2776
@classmethod
2793
2777
itertools.combinations_with_replacement.__new__
@@ -3111,8 +3095,6 @@ typedef struct {
3111
3095
int stopped ; /* set to 1 when the iterator is exhausted */
3112
3096
} permutationsobject ;
3113
3097
<
8000
td data-grid-cell-id="diff-dc27cbdf2b9f6e5236cade13cf301d352a7abd2a8b1988f2517d6f5b7a30c201-3113-3097-2" data-line-anchor="diff-dc27cbdf2b9f6e5236cade13cf301d352a7abd2a8b1988f2517d6f5b7a30c201R3097" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);padding-right:24px" tabindex="-1" valign="top" class="focusable-grid-cell diff-text-cell right-side-diff-cell left-side">
3114
- static PyTypeObject permutations_type ;
3115
-
3116
3098
/*[clinic input]
3117
3099
@classmethod
3118
3100
itertools.permutations.__new__
@@ -3472,8 +3454,6 @@ typedef struct {
3472
3454
PyObject * initial ;
3473
3455
} accumulateobject ;
3474
3456
3475
- static PyTypeObject accumulate_type ;
3476
-
3477
3457
/*[clinic input]
3478
3458
@classmethod
3479
3459
itertools.accumulate.__new__
@@ -3685,8 +3665,6 @@ typedef struct {
3685
3665
PyObject * selectors ;
3686
3666
} compressobject ;
3687
3667
3688
- static PyTypeObject compress_type ;
3689
-
3690
3668
/*[clinic input]
3691
3669
@classmethod
3692
3670
itertools.compress.__new__
@@ -3845,8 +3823,6 @@ typedef struct {
3845
3823
PyObject * it ;
3846
3824
} filterfalseobject ;
3847
3825
3848
- static PyTypeObject filterfalse_type ;
3849
-
3850
3826
/*[clinic input]
3851
3827
@classmethod
3852
3828
itertools.filterfalse.__new__
@@ -4017,8 +3993,6 @@ slow_mode: when cnt == PY_SSIZE_T_MAX, step is not int(1), or cnt is a float.
4017
3993
Either long_cnt or long_step may be a float, Fraction, or Decimal.
4018
3994
*/
4019
3995
4020
- static PyTypeObject count_type ;
4021
-
4022
3996
/*[clinic input]
4023
3997
@classmethod
4024
3998
itertools.count.__new__
0 commit comments