Skip to content

Commit 79b2415

Browse files
Rename dialect_init_special_chars() to dialect_init_special_chars_cache()
1 parent 1a728ac commit 79b2415

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Modules/_csv.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,8 @@ dialect_add_special_char(DialectObj *self, Py_UCS4 c)
351351
}
352352
}
353353

354-
/* Fill the cache of special characters used by the writer. */
355354
static void
356-
dialect_init_special_chars(DialectObj *self)
355+
dialect_init_special_chars_cache(DialectObj *self)
357356
{
358357
self->special_chars[0] = self->special_chars[1] = 0;
359358
self->nonascii_special = false;
@@ -612,7 +611,7 @@ dialect_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
612611
{
613612
goto err;
614613
}
615-
dialect_init_special_chars(self);
614+
dialect_init_special_chars_cache(self);
616615

617616
ret = Py_NewRef(self);
618617
err:

0 commit comments

Comments
 (0)