mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
fix bogus indentation
This commit is contained in:
parent
e51fe8d0a3
commit
9cea41c195
1 changed files with 1 additions and 1 deletions
|
@ -529,7 +529,7 @@ PyObject *PyUnicode_AsEncodedString(PyObject *unicode,
|
|||
/* Shortcuts for common default encodings */
|
||||
if (errors == NULL) {
|
||||
if (strcmp(encoding, "utf-8") == 0)
|
||||
return PyUnicode_AsUTF8String(unicode);
|
||||
return PyUnicode_AsUTF8String(unicode);
|
||||
else if (strcmp(encoding, "latin-1") == 0)
|
||||
return PyUnicode_AsLatin1String(unicode);
|
||||
else if (strcmp(encoding, "ascii") == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue