Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update _iomodule.c
  • Loading branch information
methane authored Mar 31, 2022
commit addff879d7a863c4897260bb4b8d0ee387bbb69c
1 change: 0 additions & 1 deletion Modules/_io/_iomodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@ _io_text_encoding_impl(PyObject *module, PyObject *encoding, int stacklevel)
}
const PyPreConfig *preconfig = &_PyRuntime.preconfig;
if (preconfig->utf8_mode) {
_Py_DECLARE_STR(utf_8, "utf-8");
_Py_DECLARE_STR(utf_8, "utf-8");
encoding = &_Py_STR(utf_8);
Comment thread
methane marked this conversation as resolved.
}
Expand Down