X-Git-Url: https://jfr.im/git/z_archive/twitter.git/blobdiff_plain/8df7be82b941c4b1c83bbfe9ed06a4026f3c08e2..8ec08295c4a156f046b60be77b79f2c97df48e09:/twitter/stream.py diff --git a/twitter/stream.py b/twitter/stream.py index ef82a36..e60157c 100644 --- a/twitter/stream.py +++ b/twitter/stream.py @@ -60,10 +60,11 @@ class TwitterStreamCallNonBlocking(TwitterCall): class TwitterStream(TwitterStreamCall): """ - Interface to the Twitter Stream API (stream.twitter.com). This can - be used pretty much the same as the Twitter class except the - result of calling a method will be an iterator that yields objects - decoded from the stream. For example:: + The TwitterStream object is an interface to the Twitter Stream API + (stream.twitter.com). This can be used pretty much the same as the + Twitter class except the result of calling a method will be an + iterator that yields objects decoded from the stream. For + example:: twitter_stream = TwitterStream(auth=UserPassAuth('joe', 'joespassword')) iterator = twitter_stream.statuses.sample()