diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-04-01 16:27:30 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-04-01 16:27:30 -0400 |
commit | 78c85384614dd7dc8fc3f9316874ac8ee9310c13 (patch) | |
tree | 152e4dc7ef47901c054e74d07d50f57508a80b92 /Lib/urllib/request.py | |
parent | 5dd3caed2be6da5df934c7c3bedf0bd9ba2d4bf6 (diff) | |
download | cpython-git-78c85384614dd7dc8fc3f9316874ac8ee9310c13.tar.gz |
fix typo
Diffstat (limited to 'Lib/urllib/request.py')
-rw-r--r-- | Lib/urllib/request.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 65a3aeb72f..8a7d048dc5 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py @@ -521,7 +521,7 @@ def build_opener(*handlers): skip = set() for klass in default_classes: for check in handlers: - if instance(check, type): + if isinstance(check, type): if issubclass(check, klass): skip.add(klass) elif isinstance(check, klass): |