[pypy-commit] pypy stdlib-2.7.12: pep8

pjenvey pypy.commits at gmail.com
Sat Oct 8 18:40:09 EDT 2016


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: stdlib-2.7.12
Changeset: r87635:e924d7da094f
Date: 2016-10-08 12:20 -0700
http://bitbucket.org/pypy/pypy/changeset/e924d7da094f/

Log:	pep8

diff --git a/lib_pypy/_functools.py b/lib_pypy/_functools.py
--- a/lib_pypy/_functools.py
+++ b/lib_pypy/_functools.py
@@ -59,7 +59,7 @@
         func, args, keywords, d = state
 
         if (not callable(func) or not isinstance(args, tuple) or
-            (keywords != None and not isinstance(keywords, dict))):
+            (keywords is not None and not isinstance(keywords, dict))):
             raise TypeError("invalid partial state")
 
         self._func = func


More information about the pypy-commit mailing list