summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2021-10-13 17:08:19 (GMT)
committerGitHub <noreply@github.com>2021-10-13 17:08:19 (GMT)
commitdb2b6a20cd35781b2f5e798e880e57e6cf9b97aa (patch)
tree316124de83275184a817e1d543f9b8200c785466 /Doc
parent1c831353816ff699b54e804047a7242a09e98f5b (diff)
downloadcpython-db2b6a20cd35781b2f5e798e880e57e6cf9b97aa.zip
cpython-db2b6a20cd35781b2f5e798e880e57e6cf9b97aa.tar.gz
cpython-db2b6a20cd35781b2f5e798e880e57e6cf9b97aa.tar.bz2
bpo-45445: Fail if an invalid X-option is provided in the command line (GH-28823)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/sys.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 8b3c6fd..ee07ba1 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -1729,13 +1729,13 @@ always available.
.. code-block:: shell-session
- $ ./python -Xa=b -Xc
+ $ ./python -Xpycache_prefix=some_path -Xdev
Python 3.2a3+ (py3k, Oct 16 2010, 20:14:50)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys._xoptions
- {'a': 'b', 'c': True}
+ {'pycache_prefix': 'some_path', 'dev': True}
.. impl-detail::