Staging: this is not the live site, pydocs.org.
Internet Protocols and Support
Open the file locally, if there is no host name, or the host name is 'localhost'.
Changed in 3.2
- 3.2: This method is applicable only for local hostnames. When a remote hostname is given, a URLError is raised.