summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorXtreak <tir.karthi@gmail.com>2019-05-30 17:58:28 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-30 17:58:27 (GMT)
commit1b69c09248c4b51962933e3551f1ae6fc11369b6 (patch)
treebc3088fa7bfb1b2d0d303ec6f057561dd44c09f5 /Doc
parent98ef92002ec289bf8086b0ef3d4f96c2589f4e68 (diff)
downloadcpython-1b69c09248c4b51962933e3551f1ae6fc11369b6.zip
cpython-1b69c09248c4b51962933e3551f1ae6fc11369b6.tar.gz
cpython-1b69c09248c4b51962933e3551f1ae6fc11369b6.tar.bz2
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
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/urllib.request.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 1895ae7..a53c969 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -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