Fixed sphinx warnings, thanks to jbergstroem for buggin' me about them.
This commit is contained in:
@@ -78,6 +78,6 @@ Network Convenience Functions
|
|||||||
|
|
||||||
.. autofunction:: eventlet.serve
|
.. autofunction:: eventlet.serve
|
||||||
|
|
||||||
.. autofunction:: eventlet.StopServe
|
.. autoclass:: eventlet.StopServe
|
||||||
|
|
||||||
These are the basic primitives of Eventlet; there are a lot more out there in the other Eventlet modules; check out the :doc:`modules`.
|
These are the basic primitives of Eventlet; there are a lot more out there in the other Eventlet modules; check out the :doc:`modules`.
|
||||||
|
@@ -98,7 +98,7 @@ implementation.
|
|||||||
.. _websocket_chat_example:
|
.. _websocket_chat_example:
|
||||||
|
|
||||||
Websocket Multi-User Chat Example
|
Websocket Multi-User Chat Example
|
||||||
--------------------------
|
-----------------------------------
|
||||||
``examples/websocket_chat.py``
|
``examples/websocket_chat.py``
|
||||||
|
|
||||||
This is a mashup of the websocket example and the multi-user chat example, showing how you can do the same sorts of things with websockets that you can do with regular sockets.
|
This is a mashup of the websocket example and the multi-user chat example, showing how you can do the same sorts of things with websockets that you can do with regular sockets.
|
||||||
|
@@ -161,11 +161,11 @@ class Pool(object):
|
|||||||
return max(0, self.channel.getting() - self.channel.putting())
|
return max(0, self.channel.getting() - self.channel.putting())
|
||||||
|
|
||||||
def create(self):
|
def create(self):
|
||||||
"""Generate a new pool item. In order for the pool to function,
|
"""Generate a new pool item. In order for the pool to
|
||||||
either this method must be overriden in a subclass or pool must be
|
function, either this method must be overriden in a subclass
|
||||||
created with `create`=callable argument. It accepts no arguments
|
or the pool must be constructed with the `create` argument.
|
||||||
and returns a single instance of whatever thing the pool is supposed
|
It accepts no arguments and returns a single instance of
|
||||||
to contain.
|
whatever thing the pool is supposed to contain.
|
||||||
|
|
||||||
In general, :meth:`create` is called whenever the pool exceeds its
|
In general, :meth:`create` is called whenever the pool exceeds its
|
||||||
previous high-water mark of concurrently-checked-out-items. In other
|
previous high-water mark of concurrently-checked-out-items. In other
|
||||||
|
Reference in New Issue
Block a user