From fdd0fff277a55c010a4da0a7af0e986e38560545 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 5 Apr 2023 16:54:43 +0200 Subject: [PATCH] gh-102899: Fix doc link for getting filesystem error handler (#102901) --- 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 b3b9b5e74ac..00721efd1cf 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