From 06d5a12e3c246b407d4a54b22c8f766dc54c49b4 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 22 Mar 2023 10:06:55 +0100 Subject: [PATCH] gh-102899: Fix doc link for getting filesystem error handler --- Doc/library/sys.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index b3b9b5e74ac068..00721efd1cf65e 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