Commit 1b69c092 authored by Xtreak's avatar Xtreak Committed by Miss Islington (bot)

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
parent 98ef9200
......@@ -95,10 +95,10 @@ The :mod:`urllib.request` module defines the following functions:
parameter to ``urllib.urlopen``, can be obtained by using
:class:`ProxyHandler` objects.
.. audit-event:: urllib.request "fullurl data headers method"
.. audit-event:: urllib.Request "fullurl data headers method"
The default opener raises an :func:`auditing event <sys.audit>`
``urllib.request`` with arguments ``fullurl``, ``data``, ``headers``,
``urllib.Request`` with arguments ``fullurl``, ``data``, ``headers``,
``method`` taken from the request object.
.. versionchanged:: 3.2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment