]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-102899: Fix doc link for getting filesystem error handler (#102901)
authorOlivier Gayot <olivier.gayot@sigexec.com>
Wed, 5 Apr 2023 14:54:43 +0000 (16:54 +0200)
committerGitHub <noreply@github.com>
Wed, 5 Apr 2023 14:54:43 +0000 (16:54 +0200)
Doc/library/sys.rst

index b3b9b5e74ac0689ca3f2524fb57d0336fb553e63..00721efd1cf65e1b6a8295bfb2bb5ce7805f4977 100644 (file)
@@ -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