[Python-checkins] gh-102899: Fix doc link for getting filesystem error handler (GH-102901)
miss-islington
webhook-mailer at python.org
Wed Apr 5 11:03:56 EDT 2023
https://github.com/python/cpython/commit/09fb27fa51aeafbc61a51c5e748c97b18d907c8b
commit: 09fb27fa51aeafbc61a51c5e748c97b18d907c8b
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-04-05T08:03:47-07:00
summary:
gh-102899: Fix doc link for getting filesystem error handler (GH-102901)
(cherry picked from commit fdd0fff277a55c010a4da0a7af0e986e38560545)
Co-authored-by: Olivier Gayot <olivier.gayot at sigexec.com>
files:
M Doc/library/sys.rst
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 79df611a2724..3d1506f553ad 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