summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-03-25 20:32:07 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-03-25 20:32:07 (GMT)
commitc8a730bf72b1c95651a8a39766bf56635956a2e0 (patch)
treef53ce04480adb7566c934f08a34e09423eedd255 /Lib/idlelib/PyShell.py
parentff33e2f5e9c4d51e18387ccd723ccb3fddd53078 (diff)
downloadcpython-c8a730bf72b1c95651a8a39766bf56635956a2e0.zip
cpython-c8a730bf72b1c95651a8a39766bf56635956a2e0.tar.gz
cpython-c8a730bf72b1c95651a8a39766bf56635956a2e0.tar.bz2
Syntax cleanup `== None` -> `is None`
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r--Lib/idlelib/PyShell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index f8f7eef..271310a 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -350,7 +350,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
rpcpid = None
def spawn_subprocess(self):
- if self.subprocess_arglist == None:
+ if self.subprocess_arglist is None:
self.subprocess_arglist = self.build_subprocess_arglist()
args = self.subprocess_arglist
self.rpcpid = os.spawnv(os.P_NOWAIT, sys.executable, args)