From f88caab467eb57cfe293cdf9fb7cce29b24fda7f Mon Sep 17 00:00:00 2001 From: Stefan <96178532+stefan6419846@users.noreply.github.com> Date: Wed, 8 Nov 2023 16:29:47 +0100 Subject: [PATCH] gh-111768: Add `wsgiref.util.is_hop_by_hop` to `__all__` (#111770) --- Lib/wsgiref/util.py | 2 +- .../next/Library/2023-11-08-07-42-53.gh-issue-111768.g-WpnV.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Library/2023-11-08-07-42-53.gh-issue-111768.g-WpnV.rst diff --git a/Lib/wsgiref/util.py b/Lib/wsgiref/util.py index cbbe094cba1..63b92331737 100644 --- a/Lib/wsgiref/util.py +++ b/Lib/wsgiref/util.py @@ -4,7 +4,7 @@ import posixpath __all__ = [ 'FileWrapper', 'guess_scheme', 'application_uri', 'request_uri', - 'shift_path_info', 'setup_testing_defaults', + 'shift_path_info', 'setup_testing_defaults', 'is_hop_by_hop', ] diff --git a/Misc/NEWS.d/next/Library/2023-11-08-07-42-53.gh-issue-111768.g-WpnV.rst b/Misc/NEWS.d/next/Library/2023-11-08-07-42-53.gh-issue-111768.g-WpnV.rst new file mode 100644 index 00000000000..501cfa3920a --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-11-08-07-42-53.gh-issue-111768.g-WpnV.rst @@ -0,0 +1 @@ +:func:`wsgiref.util.is_hop_by_hop` is now exposed correctly in ``__all__``.