diff options
author | Éric <merwok@netwok.org> | 2022-05-29 18:04:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-29 18:04:23 (GMT) |
commit | c649526f923c70d9db201b08d8a850831b5cf989 (patch) | |
tree | 27d3db862955df946c698be197a5cdffea375188 /Misc/python.man | |
parent | 561c709af327359979f43388461f9f937666d192 (diff) | |
download | cpython-c649526f923c70d9db201b08d8a850831b5cf989.zip cpython-c649526f923c70d9db201b08d8a850831b5cf989.tar.gz cpython-c649526f923c70d9db201b08d8a850831b5cf989.tar.bz2 |
[3.10] gh-93217: fix some issues in man page and --help (GH-93219) (#93261)
Diffstat (limited to 'Misc/python.man')
-rw-r--r-- | Misc/python.man | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Misc/python.man b/Misc/python.man index 45a4927..6b21fdc 100644 --- a/Misc/python.man +++ b/Misc/python.man @@ -66,10 +66,10 @@ python \- an interpreted, interactive, object-oriented programming language .B \-x ] [ -[ .B \-X .I option ] +[ .B \-? ] .br @@ -302,7 +302,8 @@ Set implementation specific option. The following options are available: more verbose than the default if the code is correct: new warnings are only emitted when an issue is detected. Effect of the developer mode: * Add default warning filter, as -W default - * Install debug hooks on memory allocators: see the PyMem_SetupDebugHooks() C function + * Install debug hooks on memory allocators: see the PyMem_SetupDebugHooks() + C function * Enable the faulthandler module to dump the Python traceback on a crash * Enable asyncio debug mode * Set the dev_mode attribute of sys.flags to True @@ -313,7 +314,10 @@ Set implementation specific option. The following options are available: otherwise activate automatically). See PYTHONUTF8 for more details -X pycache_prefix=PATH: enable writing .pyc files to a parallel tree rooted at the - given directory instead of to the code tree. + given directory instead of to the code tree. + + -X warn_default_encoding: enable opt-in EncodingWarning for 'encoding=None' + .TP .B \-x Skip the first line of the source. This is intended for a DOS |