We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c02ee45 commit 83bd568Copy full SHA for 83bd568
Doc/library/devmode.rst
@@ -198,7 +198,7 @@ descriptor" error when finalizing the file object:
198
199
.. code-block:: shell-session
200
201
- $ python script.py
+ $ python -X dev script.py
202
import os
203
script.py:10: ResourceWarning: unclosed file <_io.TextIOWrapper name='script.py' mode='r' encoding='UTF-8'>
204
main()
0 commit comments