[Python-checkins] gh-102899: Fix doc link for getting filesystem error handler (#102901)
vstinner
webhook-mailer at python.org
Wed Apr 5 10:54:51 EDT 2023
https://github.com/python/cpython/commit/fdd0fff277a55c010a4da0a7af0e986e38560545
commit: fdd0fff277a55c010a4da0a7af0e986e38560545
branch: main
author: Olivier Gayot <olivier.gayot at sigexec.com>
committer: vstinner <vstinner at python.org>
date: 2023-04-05T16:54:43+02:00
summary:
gh-102899: Fix doc link for getting filesystem error handler (#102901)
files:
M Doc/library/sys.rst
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index b3b9b5e74ac0..00721efd1cf6 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -697,7 +697,7 @@ always available.
the encoding used with the :term:`filesystem error handler <filesystem
encoding and error handler>` to convert between Unicode filenames and bytes
filenames. The filesystem error handler is returned from
- :func:`getfilesystemencoding`.
+ :func:`getfilesystemencodeerrors`.
For best compatibility, str should be used for filenames in all cases,
although representing filenames as bytes is also supported. Functions
More information about the Python-checkins
mailing list