Skip to content

Commit

Permalink
Fix visibility of contextmanager example
Browse files Browse the repository at this point in the history
  • Loading branch information
ezheidtmann committed Feb 24, 2017
1 parent 37ed630 commit 7c80c8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Expand Up @@ -90,6 +90,7 @@ haven't yet resolved, it's a good idea to cancel those requests. You can do this
by using the session as a context manager:

.. code-block:: python
from requests_futures.sessions import FuturesSession
with FuturesSession(max_workers=1) as session:
future = session.get('https://httpbin.org/get')
Expand Down

0 comments on commit 7c80c8d

Please sign in to comment.