commit | 78c85384614dd7dc8fc3f9316874ac8ee9310c13 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Apr 01 16:27:30 2014 -0400 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Apr 01 16:27:30 2014 -0400 |
tree | 152e4dc7ef47901c054e74d07d50f57508a80b92 | |
parent | 5dd3caed2be6da5df934c7c3bedf0bd9ba2d4bf6 [diff] |
fix typo
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py index 65a3aeb..8a7d048 100644 --- a/Lib/urllib/request.py +++ b/Lib/urllib/request.py
@@ -521,7 +521,7 @@ 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):