mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
bpo-44740: Lowercase "internet" and "web" where appropriate. (GH-27378) (GH-27380)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 11749e2dc2)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
parent
0ea5e0d792
commit
6fc1efa454
61 changed files with 109 additions and 107 deletions
|
|
@ -189,7 +189,7 @@ def get_socket_conn_refused_errs():
|
|||
@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