summaryrefslogtreecommitdiff
path: root/Modules/_bz2module.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2014-01-25 21:30:37 -0800
committerLarry Hastings <larry@hastings.org>2014-01-25 21:30:37 -0800
commitf256c22f34304c350c7a3f7ae14e2e7be9e88f0b (patch)
tree13f6731a883ba587f1bc9e80bd1fd48c990e3b1a /Modules/_bz2module.c
parentc20472640cff9f2cb513b1443897814d0328bea1 (diff)
downloadcpython-git-f256c22f34304c350c7a3f7ae14e2e7be9e88f0b.tar.gz
Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch).
Diffstat (limited to 'Modules/_bz2module.c')
-rw-r--r--Modules/_bz2module.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/_bz2module.c b/Modules/_bz2module.c
index 30e034046c..2a0abe1b57 100644
--- a/Modules/_bz2module.c
+++ b/Modules/_bz2module.c
@@ -56,6 +56,8 @@ typedef struct {
#endif
} BZ2Decompressor;
+static PyTypeObject BZ2Compressor_Type;
+static PyTypeObject BZ2Decompressor_Type;
/* Helper functions. */
@@ -204,7 +206,7 @@ class _bz2.BZ2Decompressor "BZ2Decompressor *" "&BZ2Decompressor_Type"
[clinic start generated code]*/
/*[clinic end generated code: checksum=da39a3ee5e6b4b0d3255bfef95601890afd80709]*/
-#include "_bz2module.clinic.c"
+#include "clinic/_bz2module.c.h"
/*[clinic input]
_bz2.BZ2Compressor.compress