mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Syntax cleanup == None
-> is None
This commit is contained in:
parent
ff33e2f5e9
commit
c8a730bf72
2 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue