Skip to content

Commit aeeed31

Browse files
committed
More detailed sys.getdefaultencoding() documentation
1 parent eedd8b0 commit aeeed31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/sys.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,8 +771,8 @@ always available. Unless explicitly noted otherwise, all variables are read-only
771771

772772
.. function:: getdefaultencoding()
773773

774-
Return the name of the current default string encoding used by the Unicode
775-
implementation.
774+
Return ``'utf-8'``. This is the name of the default string encoding,
775+
used in methods like str.encode.
776776

777777

778778
.. function:: getdlopenflags()

0 commit comments

Comments
 (0)