diff options
-rw-r--r-- | Objects/unicodeobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 2a83e40879..d4bce81b9d 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -3096,9 +3096,9 @@ PyUnicode_FromEncodedObject(PyObject *obj, return v; } -/* Normalize an encoding name: C implementation of - encodings.normalize_encoding(). Return 1 on success, or 0 on error (encoding - is longer than lower_len-1). */ +/* Normalize an encoding name: similar to encodings.normalize_encoding(), but + also convert to lowercase. Return 1 on success, or 0 on error (encoding is + longer than lower_len-1). */ int _Py_normalize_encoding(const char *encoding, char *lower, |