Skip to content
Prev Previous commit
Next Next commit
remove unneeded change
  • Loading branch information
erlend-aasland committed Aug 13, 2023
commit c61ba2bd7e4a38653e2ea9de83011633ad1ebacd
2 changes: 1 addition & 1 deletion Doc/library/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ Text I/O

.. versionchanged:: 3.3
The default *encoding* is now ``locale.getpreferredencoding(False)``
instead of ``locale.getpreferredencoding``. Don't change temporary the
instead of ``locale.getpreferredencoding()``. Don't change temporary the
locale encoding using :func:`locale.setlocale`, use the current locale
encoding instead of the user preferred encoding.

Expand Down