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:
Inada Naoki 2023-07-16 20:43:56 +09:00 committed by GitHub
parent 501178ac9d
commit 77104f5511
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
$ python3 script.py
$ python3 -X dev script.py
import os
script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='script.py' mode='r' encoding='UTF-8'>
main()