summaryrefslogtreecommitdiff
path: root/doc/development/tutorials/examples/autodoc_intenum.py
diff options
context:
space:
mode:
authorJames Addison <55152140+jayaddison@users.noreply.github.com>2023-05-09 17:09:35 +0100
committerGitHub <noreply@github.com>2023-05-09 17:09:35 +0100
commitc9d0933e5d8e34aa9d2c1d88c5a80b46b575730e (patch)
treebbe414ee449b7288fd6a7df36553c01f8fe689dd /doc/development/tutorials/examples/autodoc_intenum.py
parent2b1c106bbff5265e8a6076318db5d083c329d575 (diff)
downloadsphinx-git-c9d0933e5d8e34aa9d2c1d88c5a80b46b575730e.tar.gz
linkcheck: Use context managers for HTTP requests (#11318)
This closes HTTP responses when no content reads are required, as when requests are made in streaming mode, ``requests`` doesn't know whether the caller may intend to later read content from a streamed HTTP response object and holds the socket open. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to 'doc/development/tutorials/examples/autodoc_intenum.py')
0 files changed, 0 insertions, 0 deletions