summaryrefslogtreecommitdiffstats
path: root/Doc/library/devmode.rst
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2023-07-16 11:43:56 (GMT)
committerGitHub <noreply@github.com>2023-07-16 11:43:56 (GMT)
commit77104f551158cd399071e0d92b165d02569be6d7 (patch)
tree641d7477a4f44d0a6393f1f46e949f91fb65447e /Doc/library/devmode.rst
parent501178ac9d13e95b5c70f28a01046b681acbf1f0 (diff)
downloadcpython-77104f551158cd399071e0d92b165d02569be6d7.zip
cpython-77104f551158cd399071e0d92b165d02569be6d7.tar.gz
cpython-77104f551158cd399071e0d92b165d02569be6d7.tar.bz2
Doc: devmode: add -Xdev option to example (GH-106253)
(cherry picked from commit 83bd568d2b57337a91ef046c1f52f9ebb03a7803) Co-authored-by: Simone Rubino <daemo00@gmail.com>
Diffstat (limited to 'Doc/library/devmode.rst')
-rw-r--r--Doc/library/devmode.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/devmode.rst b/Doc/library/devmode.rst
index 44e7d4f..fd82b3a 100644
--- a/Doc/library/devmode.rst
+++ b/Doc/library/devmode.rst
@@ -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()