summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2023-04-05 14:54:43 (GMT)
committerGitHub <noreply@github.com>2023-04-05 14:54:43 (GMT)
commitfdd0fff277a55c010a4da0a7af0e986e38560545 (patch)
tree55ab54885ccb61e02c5a9f4731ad0f617effbd75 /Doc/library/sys.rst
parent5e7c468fc4ceb801c30844b794e04a2ac6a35743 (diff)
downloadcpython-fdd0fff277a55c010a4da0a7af0e986e38560545.zip
cpython-fdd0fff277a55c010a4da0a7af0e986e38560545.tar.gz
cpython-fdd0fff277a55c010a4da0a7af0e986e38560545.tar.bz2
gh-102899: Fix doc link for getting filesystem error handler (#102901)
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r--Doc/library/sys.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index b3b9b5e..00721ef 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