diff options
| author | Benjamin Peterson <benjamin@python.org> | 2012-10-09 11:16:13 -0400 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2012-10-09 11:16:13 -0400 |
| commit | 29e02a2be8d5e3e0e9967c5806b15965201bb7aa (patch) | |
| tree | c44ab2fe883c85cb8a87222ef465e5c253c723e1 /Lib/pydoc.py | |
| parent | 2bc53a092a78b6e49c1e3f497eb7512810e83c0c (diff) | |
| parent | b29614e047110f4d9af993a6cdec4e3fb7ef9738 (diff) | |
| download | cpython-git-29e02a2be8d5e3e0e9967c5806b15965201bb7aa.tar.gz | |
merge 3.3
Diffstat (limited to 'Lib/pydoc.py')
| -rwxr-xr-x | Lib/pydoc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index b6aae5e800..490eb210d2 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -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 |
