summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2013-11-23 15:07:55 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2013-11-23 15:07:55 (GMT)
commit46c5deb1306ae8fc8103d691ae4512d2e796875e (patch)
treed54c2253d692524558557f5d376bed26c7bed3cd
parent5de397e158d538ffa065974006e58547891bd955 (diff)
downloadcpython-46c5deb1306ae8fc8103d691ae4512d2e796875e.zip
cpython-46c5deb1306ae8fc8103d691ae4512d2e796875e.tar.gz
cpython-46c5deb1306ae8fc8103d691ae4512d2e796875e.tar.bz2
- Modules/_struct.c (unpackiter_type): Define static.
-rw-r--r--Modules/_struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c
index 3d515d5..1de94e4 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -1626,7 +1626,7 @@ unpackiter_iternext(unpackiterobject *self)
return result;
}
-PyTypeObject unpackiter_type = {
+static PyTypeObject unpackiter_type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
"unpack_iterator", /* tp_name */
sizeof(unpackiterobject), /* tp_basicsize */