From: Olivier Gayot Date: Wed, 5 Apr 2023 14:54:43 +0000 (+0200) Subject: gh-102899: Fix doc link for getting filesystem error handler (#102901) X-Git-Tag: v3.12.0b1~639 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fdd0fff277a55c010a4da0a7af0e986e38560545;p=thirdparty%2FPython%2Fcpython.git gh-102899: Fix doc link for getting filesystem error handler (#102901) --- diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index b3b9b5e74ac0..00721efd1cf6 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 ` 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