summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/sys.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index cf20d33..5a859b6 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 <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