mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
parent
6c7ec7282b
commit
11749e2dc2
61 changed files with 109 additions and 107 deletions
|
@ -189,7 +189,7 @@ _NOT_SET = object()
|
|||
@contextlib.contextmanager
|
||||
def transient_internet(resource_name, *, timeout=_NOT_SET, errnos=()):
|
||||
"""Return a context manager that raises ResourceDenied when various issues
|
||||
with the Internet connection manifest themselves as exceptions."""
|
||||
with the internet connection manifest themselves as exceptions."""
|
||||
import nntplib
|
||||
import urllib.error
|
||||
if timeout is _NOT_SET:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue