Fixed sphinx warnings, thanks to jbergstroem for buggin' me about them.
This commit is contained in:
parent
4499478005
commit
450f885377
@ -78,6 +78,6 @@ Network Convenience Functions
|
||||
|
||||
.. 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`.
|
||||
|
@ -98,7 +98,7 @@ implementation.
|
||||
.. _websocket_chat_example:
|
||||
|
||||
Websocket Multi-User Chat Example
|
||||
--------------------------
|
||||
-----------------------------------
|
||||
``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.
|
||||
|
@ -161,11 +161,11 @@ class Pool(object):
|
||||
return max(0, self.channel.getting() - self.channel.putting())
|
||||
|
||||
def create(self):
|
||||
"""Generate a new pool item. In order for the pool to function,
|
||||
either this method must be overriden in a subclass or pool must be
|
||||
created with `create`=callable argument. It accepts no arguments
|
||||
and returns a single instance of whatever thing the pool is supposed
|
||||
to contain.
|
||||
"""Generate a new pool item. In order for the pool to
|
||||
function, either this method must be overriden in a subclass
|
||||
or the pool must be constructed with the `create` argument.
|
||||
It accepts no arguments and returns a single instance of
|
||||
whatever thing the pool is supposed to contain.
|
||||
|
||||
In general, :meth:`create` is called whenever the pool exceeds its
|
||||
previous high-water mark of concurrently-checked-out-items. In other
|
||||
|
Loading…
Reference in New Issue
Block a user