Home | History | Annotate | Download | only in python2.7

Lines Matching defs:port

19 Run "pydoc -p <port>" to start an HTTP server on a given port on the
1999 def serve(port, callback=None, completer=None):
2059 def __init__(self, port, callback):
2061 self.address = (host, port)
2062 self.url = 'http://%s:%d/' % (host, port)
2082 DocServer(port, callback).serve_until_quit()
2093 def __init__(self, window, port=7464):
2160 target=serve, args=(port, self.ready, self.quit)).start()
2302 port = int(val)
2309 serve(port, ready, stopped)
2347 %s -p <port>
2348 Start an HTTP server on the given port on the local machine.