Fix audit event typo : urllib.request -> urllib.Request (GH-13550)

As per the PEP and the [audit event raised](13d4e6a4a0/Lib/urllib/request.py (L524)) in urllib.request this should be `urllib.Request`

cc: @zooba
This commit is contained in:
Xtreak 2019-05-30 23:28:28 +05:30 committed by Miss Islington (bot)
parent 98ef92002e
commit 1b69c09248
1 changed files with 2 additions and 2 deletions

View File

@ -95,10 +95,10 @@ The :mod:`urllib.request` module defines the following functions:
parameter to ``urllib.urlopen``, can be obtained by using parameter to ``urllib.urlopen``, can be obtained by using
:class:`ProxyHandler` objects. :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>` 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. ``method`` taken from the request object.
.. versionchanged:: 3.2 .. versionchanged:: 3.2