Author: Philip Jenvey <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to