]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Patch from Leandro Lucarella: replaced:
authorPeter Astrand <astrand@lysator.liu.se>
Thu, 10 Feb 2005 08:32:50 +0000 (08:32 +0000)
committerPeter Astrand <astrand@lysator.liu.se>
Thu, 10 Feb 2005 08:32:50 +0000 (08:32 +0000)
commitd38ddf4ca23824f375e627bda82ffa995344c6e5
treead7c52db504ddeb2b03cd64eecfce78280666da1
parentb615bf06813022dccba98309cdfb77f409c4742f
Patch from Leandro Lucarella: replaced:

var == None and var != None
with
var is None and var is not None

and type(var) == int
with
instanceof(var, int)

...as recomended in PEP 8 [1].
Lib/subprocess.py