X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=eventlet%2Fdoc%2Findex.rst;fp=eventlet%2Fdoc%2Findex.rst;h=0000000000000000000000000000000000000000;hb=358bd9258c2b6d2ee74de4dfd07a5123107abad4;hp=608c29b2f7bc3d17b5d1cff672983ad6df466ba2;hpb=376ff3bfe7071cc0793184a378c4e74508fb0d97;p=packages%2Ftrusty%2Fpython-eventlet.git diff --git a/eventlet/doc/index.rst b/eventlet/doc/index.rst deleted file mode 100644 index 608c29b..0000000 --- a/eventlet/doc/index.rst +++ /dev/null @@ -1,55 +0,0 @@ -Eventlet Documentation -==================================== - -Code talks! This is a simple web crawler that fetches a bunch of urls concurrently: - -.. code-block:: python - - urls = [ - "http://www.google.com/intl/en_ALL/images/logo.gif", - "http://python.org/images/python-logo.gif", - "http://us.i1.yimg.com/us.yimg.com/i/ww/beta/y3.gif", - ] - - import eventlet - from eventlet.green import urllib2 - - def fetch(url): - return urllib2.urlopen(url).read() - - pool = eventlet.GreenPool() - for body in pool.imap(fetch, urls): - print("got body", len(body)) - -Contents -========= - -.. toctree:: - :maxdepth: 2 - - basic_usage - design_patterns - patching - examples - ssl - threading - zeromq - hubs - testing - environment - - modules - - authors - history - -License ---------- -Eventlet is made available under the terms of the open source `MIT license `_ - -Indices and tables -================== - -* :ref:`genindex` -* :ref:`modindex` -* :ref:`search`