]> jfr.im git - z_archive/twitter.git/blobdiff - twitter/stream.py
__builtins__["raw_input"] throws a KeyError on Python 3.2.3, so adding it to the...
[z_archive/twitter.git] / twitter / stream.py
index 2fd9cd88da489e3e809407fa52b05f56b8c2da78..e60157c43a57b03cb9a773af026d7fdf1fabe4a7 100644 (file)
@@ -60,10 +60,11 @@ class TwitterStreamCallNonBlocking(TwitterCall):
 
 class TwitterStream(TwitterStreamCall):
     """
 
 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()
 
         twitter_stream = TwitterStream(auth=UserPassAuth('joe', 'joespassword'))
         iterator = twitter_stream.statuses.sample()
@@ -74,7 +75,7 @@ class TwitterStream(TwitterStreamCall):
     The iterator will yield tweets forever and ever (until the stream
     breaks at which point it raises a TwitterHTTPError.)
 
     The iterator will yield tweets forever and ever (until the stream
     breaks at which point it raises a TwitterHTTPError.)
 
-    The `block` paramater controls if the stream is blocking. Default
+    The `block` parameter controls if the stream is blocking. Default
     is blocking (True). When set to False, the iterator will
     occasionally yield None when there is no available message.
     """
     is blocking (True). When set to False, the iterator will
     occasionally yield None when there is no available message.
     """