summaryrefslogtreecommitdiffstats
path: root/Modules/_csv.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_csv.c')
-rw-r--r--Modules/_csv.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Modules/_csv.c b/Modules/_csv.c
index fb5530a..5314ef6 100644
--- a/Modules/_csv.c
+++ b/Modules/_csv.c
@@ -365,14 +365,14 @@ dialect_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
Py_INCREF(dialect);
/* Can we reuse this instance? */
if (PyObject_TypeCheck(dialect, &Dialect_Type) &&
- delimiter == 0 &&
- doublequote == 0 &&
- escapechar == 0 &&
- lineterminator == 0 &&
- quotechar == 0 &&
- quoting == 0 &&
- skipinitialspace == 0 &&
- strict == 0)
+ delimiter == NULL &&
+ doublequote == NULL &&
+ escapechar == NULL &&
+ lineterminator == NULL &&
+ quotechar == NULL &&
+ quoting == NULL &&
+ skipinitialspace == NULL &&
+ strict == NULL)
return dialect;
}