mirror of https://github.com/python/cpython
fixes issue #7530, serve_forever()
This commit is contained in:
parent
83fddec8bd
commit
8f48f4c5f6
|
@ -1133,7 +1133,7 @@ their parent process exits. The manager classes are defined in the
|
|||
|
||||
Create a BaseManager object.
|
||||
|
||||
Once created one should call :meth:`start` or :meth:`serve_forever` to ensure
|
||||
Once created one should call :meth:`start` or ```get_server().serve_forever()`` to ensure
|
||||
that the manager object refers to a started manager process.
|
||||
|
||||
*address* is the address on which the manager process listens for new
|
||||
|
@ -1149,10 +1149,6 @@ their parent process exits. The manager classes are defined in the
|
|||
Start a subprocess to start the manager. If *initializer* is not ``None``
|
||||
then the subprocess will call ``initializer(*initargs)`` when it starts.
|
||||
|
||||
.. method:: serve_forever()
|
||||
|
||||
Run the server in the current process.
|
||||
|
||||
.. method:: get_server()
|
||||
|
||||
Returns a :class:`Server` object which represents the actual server under
|
||||
|
|
Loading…
Reference in New Issue