mirror of
https://github.com/python/cpython.git
synced 2025-10-04 06:06:44 +00:00
Merge
This commit is contained in:
commit
f3ac50b778
1 changed files with 3 additions and 3 deletions
|
@ -153,8 +153,8 @@ Server Objects
|
||||||
|
|
||||||
.. method:: BaseServer.serve_forever(poll_interval=0.5)
|
.. method:: BaseServer.serve_forever(poll_interval=0.5)
|
||||||
|
|
||||||
Handle requests until an explicit :meth:`shutdown` request. Polls for
|
Handle requests until an explicit :meth:`shutdown` request.
|
||||||
shutdown every *poll_interval* seconds. It also calls
|
Poll for shutdown every *poll_interval* seconds. Ignores :attr:`self.timeout`. It also calls
|
||||||
:meth:`service_actions` which may be used by a subclass or Mixin to provide
|
:meth:`service_actions` which may be used by a subclass or Mixin to provide
|
||||||
various cleanup actions. For e.g. ForkingMixin class uses
|
various cleanup actions. For e.g. ForkingMixin class uses
|
||||||
:meth:`service_actions` to cleanup the zombie child processes.
|
:meth:`service_actions` to cleanup the zombie child processes.
|
||||||
|
@ -172,7 +172,7 @@ Server Objects
|
||||||
|
|
||||||
.. method:: BaseServer.shutdown()
|
.. method:: BaseServer.shutdown()
|
||||||
|
|
||||||
Tells the :meth:`serve_forever` loop to stop and waits until it does.
|
Tell the :meth:`serve_forever` loop to stop and waits until it does.
|
||||||
|
|
||||||
|
|
||||||
.. attribute:: BaseServer.address_family
|
.. attribute:: BaseServer.address_family
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue