mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-45445: Fail if an invalid X-option is provided in the command line (GH-28823)
This commit is contained in:
parent
1c83135381
commit
db2b6a20cd
8 changed files with 88 additions and 27 deletions
|
@ -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::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue