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
(cherry picked from commit 83bd568)

Co-authored-by: Simone Rubino <[email protected]>
  • Loading branch information
methane and Daemo00 authored Jul 16, 2023
1 parent 501178a commit 77104f5
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
$ 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()
Expand Down

0 comments on commit 77104f5

Please sign in to comment.