[pypy-svn] r73856 - pypy/trunk/pypy/objspace/flow

benjamin at codespeak.net benjamin at codespeak.net
Sun Apr 18 01:17:18 CEST 2010


Author: benjamin
Date: Sun Apr 18 01:17:16 2010
New Revision: 73856

Modified:
   pypy/trunk/pypy/objspace/flow/objspace.py
Log:
passing None as default is redundant

Modified: pypy/trunk/pypy/objspace/flow/objspace.py
==============================================================================
--- pypy/trunk/pypy/objspace/flow/objspace.py	(original)
+++ pypy/trunk/pypy/objspace/flow/objspace.py	Sun Apr 18 01:17:16 2010
@@ -423,7 +423,7 @@
                                    types.ClassType,
                                    types.TypeType)) and
                       c.__module__ in ['__builtin__', 'exceptions']):
-                    exceptions = operation.implicit_exceptions.get(c, None)
+                    exceptions = operation.implicit_exceptions.get(c)
         self.handle_implicit_exceptions(exceptions)
         return w_res
 



More information about the Pypy-commit mailing list