summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-04-05 15:03:45 (GMT)
committerGitHub <noreply@github.com>2023-04-05 15:03:45 (GMT)
commit18d825be8c74f41e62466638c60d2b663dea03b6 (patch)
tree367a772bd9ec2820d6a3340929783bdca85d3fcf
parent8693ec214c2fa6cc1ea2e71f308735b6d9ea55f1 (diff)
downloadcpython-18d825be8c74f41e62466638c60d2b663dea03b6.zip
cpython-18d825be8c74f41e62466638c60d2b663dea03b6.tar.gz
cpython-18d825be8c74f41e62466638c60d2b663dea03b6.tar.bz2
gh-102899: Fix doc link for getting filesystem error handler (GH-102901)
(cherry picked from commit fdd0fff277a55c010a4da0a7af0e986e38560545) Co-authored-by: Olivier Gayot <olivier.gayot@sigexec.com>
-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 cf20d33..5a859b6 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -651,7 +651,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