mirror of
https://github.com/python/cpython.git
synced 2025-10-18 04:38:07 +00:00
Clean up one comment, fix typos in others.
This commit is contained in:
parent
4962fc8fed
commit
d5214b04f5
1 changed files with 7 additions and 7 deletions
|
@ -328,8 +328,8 @@ class OpenerDirector:
|
|||
|
||||
def error(self, proto, *args):
|
||||
if proto in ['http', 'https']:
|
||||
# XXX http[s] protocols are special cased
|
||||
dict = self.handle_error['http'] # https is not different then http
|
||||
# XXX http[s] protocols are special-cased
|
||||
dict = self.handle_error['http'] # https is not different than http
|
||||
proto = args[2] # YUCK!
|
||||
meth_name = 'http_error_%d' % proto
|
||||
http_err = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue