From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 5 Apr 2023 15:03:45 +0000 (-0700) Subject: gh-102899: Fix doc link for getting filesystem error handler (GH-102901) X-Git-Tag: v3.10.12~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18d825be8c74f41e62466638c60d2b663dea03b6;p=thirdparty%2FPython%2Fcpython.git gh-102899: Fix doc link for getting filesystem error handler (GH-102901) (cherry picked from commit fdd0fff277a55c010a4da0a7af0e986e38560545) Co-authored-by: Olivier Gayot --- diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index cf20d33ab6e8..5a859b68ef80 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 ` 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