bpo-45445: Revert "bpo-45445: Fail if an invalid X-option is provided in the command line (GH-28823)" (#94745)

This commit is contained in:
Pablo Galindo Salgado 2022-07-31 16:33:56 +01:00 committed by GitHub
parent 50b2261bda
commit aa37ffda29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 27 additions and 83 deletions

View file

@ -1780,13 +1780,13 @@ always available.
.. code-block:: shell-session
$ ./python -Xpycache_prefix=some_path -Xdev
$ ./python -Xa=b -Xc
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
{'pycache_prefix': 'some_path', 'dev': True}
{'a': 'b', 'c': True}
.. impl-detail::