summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2005-06-15 13:38:07 (GMT)
committerSkip Montanaro <skip@pobox.com>2005-06-15 13:38:07 (GMT)
commitf47379c3f0c4f31c1d17482732ea2912845a8624 (patch)
tree6152137c9e4b15c31616894e67bc206b70453db8 /Modules
parent253bf1edbc72594b0235ce588d155f6359f9be82 (diff)
downloadcpython-f47379c3f0c4f31c1d17482732ea2912845a8624.zip
cpython-f47379c3f0c4f31c1d17482732ea2912845a8624.tar.gz
cpython-f47379c3f0c4f31c1d17482732ea2912845a8624.tar.bz2
backport
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_csv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_csv.c b/Modules/_csv.c
index 32806d4..044ea4b 100644
--- a/Modules/_csv.c
+++ b/Modules/_csv.c
@@ -1545,6 +1545,7 @@ init_csv(void)
}
/* Add the Dialect type */
+ Py_INCREF(&Dialect_Type);
if (PyModule_AddObject(module, "Dialect", (PyObject *)&Dialect_Type))
return;