diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 74f0211dca0..03362db03b8 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -143,7 +143,7 @@ The :mod:`urllib.request` module defines the following functions: class AppURLopener(urllib.request.FancyURLopener): version = "App/1.7" - urllib._urlopener = AppURLopener() + urllib.request._urlopener = AppURLopener() .. function:: urlcleanup()