mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Doc: devmode: add -Xdev option to example (#106253)
This commit is contained in:
parent
c02ee45031
commit
83bd568d2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue