commit | c8a730bf72b1c95651a8a39766bf56635956a2e0 | [log] [tgz] |
---|---|---|
author | Florent Xicluna <florent.xicluna@gmail.com> | Thu Mar 25 20:32:07 2010 +0000 |
committer | Florent Xicluna <florent.xicluna@gmail.com> | Thu Mar 25 20:32:07 2010 +0000 |
tree | f53ce04480adb7566c934f08a34e09423eedd255 | |
parent | ff33e2f5e9c4d51e18387ccd723ccb3fddd53078 [diff] [blame] |
Syntax cleanup `== None` -> `is None`
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 @@ 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)