]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-102899: Fix doc link for getting filesystem error handler (GH-102901)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 5 Apr 2023 15:03:45 +0000 (08:03 -0700)
committerGitHub <noreply@github.com>
Wed, 5 Apr 2023 15:03:45 +0000 (08:03 -0700)
(cherry picked from commit fdd0fff277a55c010a4da0a7af0e986e38560545)

Co-authored-by: Olivier Gayot <olivier.gayot@sigexec.com>
Doc/library/sys.rst

index cf20d33ab6e82dceb02033e2914b35fc6ff8114a..5a859b68ef805526e53c22aae0deacd096f003c8 100644 (file)
@@ -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