Skip to content

Commit

Permalink
Doc: devmode: add -Xdev option to example (GH-106253)
Browse files Browse the repository at this point in the history
Doc: devmode: add -Xdev option to example (GH-106253)
(cherry picked from commit 83bd568)

Co-authored-by: Simone Rubino <daemo00@gmail.com>
  • Loading branch information
miss-islington and Daemo00 authored Jul 16, 2023
1 parent f0df92a commit e4658bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/devmode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e4658bf

Please sign in to comment.