diff options
author | Larry Hastings <larry@hastings.org> | 2014-01-26 05:30:37 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2014-01-26 05:30:37 (GMT) |
commit | f256c22f34304c350c7a3f7ae14e2e7be9e88f0b (patch) | |
tree | 13f6731a883ba587f1bc9e80bd1fd48c990e3b1a /Modules/clinic/_bz2module.c.h | |
parent | c20472640cff9f2cb513b1443897814d0328bea1 (diff) | |
download | cpython-f256c22f34304c350c7a3f7ae14e2e7be9e88f0b.zip cpython-f256c22f34304c350c7a3f7ae14e2e7be9e88f0b.tar.gz cpython-f256c22f34304c350c7a3f7ae14e2e7be9e88f0b.tar.bz2 |
Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch).
Diffstat (limited to 'Modules/clinic/_bz2module.c.h')
-rw-r--r-- | Modules/clinic/_bz2module.c.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Modules/clinic/_bz2module.c.h b/Modules/clinic/_bz2module.c.h index 1ba87cf..68250af 100644 --- a/Modules/clinic/_bz2module.c.h +++ b/Modules/clinic/_bz2module.c.h @@ -75,8 +75,7 @@ _bz2_BZ2Compressor___init__(PyObject *self, PyObject *args, PyObject *kwargs) int return_value = -1; int compresslevel = 9; - if (({self_name} == {self_type_object}) && - !_PyArg_NoKeywords("BZ2Compressor", kwargs)) + if (!_PyArg_NoKeywords("BZ2Compressor", kwargs)) goto exit; if (!PyArg_ParseTuple(args, "|i:BZ2Compressor", @@ -138,15 +137,13 @@ _bz2_BZ2Decompressor___init__(PyObject *self, PyObject *args, PyObject *kwargs) { int return_value = -1; - if (({self_name} == {self_type_object}) && - !_PyArg_NoPositional("BZ2Decompressor", args)) + if (!_PyArg_NoPositional("BZ2Decompressor", args)) goto exit; - if (({self_name} == {self_type_object}) && - !_PyArg_NoKeywords("BZ2Decompressor", kwargs)) + if (!_PyArg_NoKeywords("BZ2Decompressor", kwargs)) goto exit; return_value = _bz2_BZ2Decompressor___init___impl((BZ2Decompressor *)self); exit: return return_value; } -/*[clinic end generated code: checksum=79ee0d9731dfe404baec35b704b2ca2179b9a6c0]*/ +/*[clinic end generated code: checksum=9bb33ae7d35494b7a5365f03f390e4b5b8b1bc49]*/ |