Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c7dfbf + d8a4696 commit c616604Copy full SHA for c616604
1 file changed
Lib/urllib/request.py
@@ -297,7 +297,7 @@ def data(self):
297
def _parse(self):
298
self.type, rest = splittype(self.full_url)
299
if self.type is None:
300
- raise ValueError("unknown url type: %s" % self.full_url)
+ raise ValueError("unknown url type: %r" % self.full_url)
301
self.host, self.selector = splithost(rest)
302
if self.host:
303
self.host = unquote(self.host)
0 commit comments