summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2008-09-23 16:11:09 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2008-09-23 16:11:09 (GMT)
commit09979a137a225a0f447ad7cf49b3961e1875bff9 (patch)
treeba8a3b38760b4854bf16b6142f61a38abb8bf1d2 /Modules
parentfe7c26d94274febc77b707324086306b1d96354b (diff)
downloadcpython-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.c2
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,