8000 Victor's documentation comments · python/cpython@c706cfa · GitHub
[go: up one dir, main page]

Skip to content

Commit c706cfa

Browse files
committed
Victor's documentation comments
1 parent fc19177 commit c706cfa

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Doc/library/os.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ level APIs also exhibit different default behaviours:
146146
to raise an exception rather than producing nonsense data.
147 C0E0 147

148148
The :ref:`Python UTF-8 Mode <utf8-mode>` is enabled by default.
149-
It can be disabled using the :option:`-X utf8 <-X>` command line
150-
option or the :envvar:`PYTHONUTF8` environment variable.
149+
It can be disabled using the :option:`-X utf8=0 <-X>` command line
150+
option or the :envvar:`PYTHONUTF8=0 <PYTHONUTF8>` environment variable.
151151
The Python UTF-8 Mode can only be disabled at Python startup. Its value
152152
can be read from :data:`sys.flags.utf8_mode <sys.flags>`.
153153

Doc/library/sys.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,9 +642,6 @@ always available. Unless explicitly noted otherwise, all variables are read-only
642642
.. versionchanged:: 3.14
643643
Added the ``context_aware_warnings`` attribute.
644644

645-
.. versionchanged:: next
646-
UTF-8 mode (:option:`-X utf8 <-X>`) is now enabled by default.
647-
648645

649646
.. data:: float_info
650647

0 commit comments

Comments
 (0)
0