diff options
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-x | Lib/pydoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py index dcb4737..acee7b7 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -2029,7 +2029,7 @@ pydoc</strong> by Ka-Ping Yee <ping@lfw.org></font>''' class DocServer(http.server.HTTPServer): def __init__(self, port, callback): host = 'localhost' - self.address = ('', port) + self.address = (host, port) self.url = 'http://%s:%d/' % (host, port) self.callback = callback self.base.__init__(self, self.address, self.handler) |