diff options
author | Peter Astrand <astrand@lysator.liu.se> | 2005-02-10 08:32:50 +0000 |
---|---|---|
committer | Peter Astrand <astrand@lysator.liu.se> | 2005-02-10 08:32:50 +0000 |
commit | d38ddf4ca23824f375e627bda82ffa995344c6e5 (patch) | |
tree | ad7c52db504ddeb2b03cd64eecfce78280666da1 /Python/pythonrun.c | |
parent | b615bf06813022dccba98309cdfb77f409c4742f (diff) | |
download | cpython-git-d38ddf4ca23824f375e627bda82ffa995344c6e5.tar.gz |
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].
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions