Skip to content

Commit 1b69c09

Browse files
tirkarthimiss-islington
authored andcommitted
Fix audit event typo : urllib.request -> urllib.Request (GH-13550)
As per the PEP and the [audit event raised](https://github.com/python/cpython/blob/13d4e6a4a090031f8214e058ed3c8fd47767e05f/Lib/urllib/request.py#L524) in urllib.request this should be `urllib.Request` cc: @zooba
1 parent 98ef920 commit 1b69c09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/urllib.request.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ The :mod:`urllib.request` module defines the following functions:
9595
parameter to ``urllib.urlopen``, can be obtained by using
9696
:class:`ProxyHandler` objects.
9797

98-
.. audit-event:: urllib.request "fullurl data headers method"
98+
.. audit-event:: urllib.Request "fullurl data headers method"
9999

100100
The default opener raises an :func:`auditing event <sys.audit>`
101-
``urllib.request`` with arguments ``fullurl``, ``data``, ``headers``,
101+
``urllib.Request`` with arguments ``fullurl``, ``data``, ``headers``,
102102
``method`` taken from the request object.
103103

104104
.. versionchanged:: 3.2

0 commit comments

Comments
 (0)