diff options
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2008-09-23 16:11:09 (GMT) |
---|---|---|
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2008-09-23 16:11:09 (GMT) |
commit | 09979a137a225a0f447ad7cf49b3961e1875bff9 (patch) | |
tree | ba8a3b38760b4854bf16b6142f61a38abb8bf1d2 /Modules | |
parent | fe7c26d94274febc77b707324086306b1d96354b (diff) | |
download | cpython-09979a137a225a0f447ad7cf49b3961e1875bff9.zip cpython-09979a137a225a0f447ad7cf49b3961e1875bff9.tar.gz cpython-09979a137a225a0f447ad7cf49b3961e1875bff9.tar.bz2 |
Issue #3945: Fixed compile error on cygwin. (initializer element is not constant)
Reviewed by Amaury Forgeot d'Arc.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_fileio.c b/Modules/_fileio.c index c3d61b4..d7f7893 100644 --- a/Modules/_fileio.c +++ b/Modules/_fileio.c @@ -831,7 +831,7 @@ static PyGetSetDef fileio_getsetlist[] = { }; PyTypeObject PyFileIO_Type = { - PyVarObject_HEAD_INIT(&PyType_Type, 0) + PyVarObject_HEAD_INIT(NULL, 0) "_FileIO", sizeof(PyFileIOObject), 0, |