mirror of
https://github.com/python/cpython.git
synced 2025-10-01 21:02:15 +00:00
Doc: devmode: add -Xdev option to example (GH-106253)
Doc: devmode: add -Xdev option to example (GH-106253)
(cherry picked from commit 83bd568d2b
)
Co-authored-by: Simone Rubino <daemo00@gmail.com>
This commit is contained in:
parent
f0df92a9ce
commit
e4658bf44e
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