mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
compare singletons by identity not equality (closes #16712)
Patch from Serhiy Storchaka.
This commit is contained in:
parent
a511935151
commit
b29614e047
9 changed files with 15 additions and 15 deletions
|
@ -2551,8 +2551,8 @@ def cli():
|
|||
if opt == '-w':
|
||||
writing = True
|
||||
|
||||
if start_server == True:
|
||||
if port == None:
|
||||
if start_server:
|
||||
if port is None:
|
||||
port = 0
|
||||
browse(port, open_browser=open_browser)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue