8000 Doc: devmode: add -Xdev option to example (GH-106253) · python/cpython@e4658bf · GitHub
[go: up one dir, main page]

Skip to content

Commit e4658bf

Browse files
Doc: devmode: add -Xdev option to example (GH-106253)
Doc: devmode: add -Xdev option to example (GH-106253) (cherry picked from commit 83bd568) Co-authored-by: Simone Rubino <daemo00@gmail.com>
1 parent f0df92a commit e4658bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/devmode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ descriptor" error when finalizing the file object:
198198

199199
.. code-block:: shell-session
200200
201-
$ python script.py
201+
$ python -X dev script.py
202202
import os
203203
script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='script.py' mode='r' encoding='UTF-8'>
204204
main()

0 commit comments

Comments
 (0)
0