Skip to content
Myr

Merge pull request #1658 from randymorris/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

False -> True typo

authored by Cory Benfield · committed by Cory Benfield · parents 43477ed, f32b86d · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/user/advanced.rst+1 added-1 removed
273 unmodified lines
274------------------275276With ``requests.Response.iter_lines()`` you can easily iterate over streaming277APIs such as the `Twitter Streaming API <https://dev.twitter.com/docs/streaming-api>`_.278Simply set ``stream`` to ``False`` and iterate over the response with ``iter_lines()``::278Simply set ``stream`` to ``True`` and iterate over the response with ``iter_lines()``::279280 import json281 import requests282
314 unmodified lines