diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-02-28 00:32:07 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-02-28 00:32:07 (GMT) |
commit | 3695bf316f6dc32d9e730694e32f3cf029251dcb (patch) | |
tree | 1ee5614bd146cb13eaec18fa9776406d4a27c254 /Lib/test/test_pep352.py | |
parent | 4af7dcf10d7fa0aa116e283ad8212ed8aac8eea0 (diff) | |
download | cpython-3695bf316f6dc32d9e730694e32f3cf029251dcb.zip cpython-3695bf316f6dc32d9e730694e32f3cf029251dcb.tar.gz cpython-3695bf316f6dc32d9e730694e32f3cf029251dcb.tar.bz2 |
Use __builtin__, not __builtins__.
Diffstat (limited to 'Lib/test/test_pep352.py')
-rw-r--r-- | Lib/test/test_pep352.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pep352.py b/Lib/test/test_pep352.py index 5cfefd0..cd91ca7 100644 --- a/Lib/test/test_pep352.py +++ b/Lib/test/test_pep352.py @@ -21,7 +21,7 @@ class ExceptionClassTests(unittest.TestCase): def test_inheritance(self): # Make sure the inheritance hierarchy matches the documentation exc_set = set() - for object_ in __builtins__.__dict__.values(): + for object_ in __builtin__.__dict__.values(): try: if issubclass(object_, BaseException): exc_set.add(object_.__name__) |