diff Lib/idlelib/PyShell.py @ 60018:e6b9ef49e33f legacy-trunk

Syntax cleanup `== None` -> `is None`
author Florent Xicluna <florent.xicluna@gmail.com>
date Thu, 25 Mar 2010 20:32:07 +0000
parents c6d32766e94c
children eab361617f6a
line wrap: on
line diff
--- a/Lib/idlelib/PyShell.py	Thu Mar 25 03:44:24 2010 +0000
+++ b/Lib/idlelib/PyShell.py	Thu Mar 25 20:32:07 2010 +0000
@@ -350,7 +350,7 @@
     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)