Doc: devmode: add -Xdev option to example (GH-106253)

Doc: devmode: add -Xdev option to example (GH-106253)
(cherry picked from commit 83bd568d2b)

Co-authored-by: Simone Rubino <daemo00@gmail.com>
This commit is contained in:
Miss Islington (bot) 2023-07-16 00:32:26 -07:00 committed by GitHub
parent f0df92a9ce
commit e4658bf44e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,7 +198,7 @@ descriptor" error when finalizing the file object:
.. code-block:: shell-session
$ python script.py
$ python -X dev script.py
import os
script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='script.py' mode='r' encoding='UTF-8'>
main()