Skip to content

Commit f256c22

Browse files
committed
Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch).
1 parent c204726 commit f256c22

7 files changed

Lines changed: 1562 additions & 1328 deletions

File tree

Modules/_bz2module.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ typedef struct {
5656
#endif
5757
} BZ2Decompressor;
5858

59+
static PyTypeObject BZ2Compressor_Type;
60+
static PyTypeObject BZ2Decompressor_Type;
5961

6062
/* Helper functions. */
6163

@@ -204,7 +206,7 @@ class _bz2.BZ2Decompressor "BZ2Decompressor *" "&BZ2Decompressor_Type"
204206
[clinic start generated code]*/
205207
/*[clinic end generated code: checksum=da39a3ee5e6b4b0d3255bfef95601890afd80709]*/
206208

207-
#include "_bz2module.clinic.c"
209+
#include "clinic/_bz2module.c.h"
208210

209211
/*[clinic input]
210212
_bz2.BZ2Compressor.compress

0 commit comments

Comments
 (0)