Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83bd568

Browse files
authored
Doc: devmode: add -Xdev option to example (#106253)
1 parent c02ee45 commit 83bd568

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)