Fix an error in the cursor tutorial.
authorJoshua Roesslein <jroesslein@gmail.com>
Fri, 23 Apr 2010 20:16:14 +0000 (15:16 -0500)
committerJoshua Roesslein <jroesslein@gmail.com>
Fri, 23 Apr 2010 20:16:14 +0000 (15:16 -0500)
Fixes issue #28

doc/cursor_tutorial.rst

index f5dd0eb7ea9ee5632e194e5b2a9b0ea6dc85f33f..be0b83aaa67c935979388e7df14d2c6ddb6cb319 100644 (file)
@@ -85,7 +85,7 @@ What if you only want n items or pages returned? You pass into the items() or pa
 .. code-block :: python
 
    # Only iterate through the first 200 statuses
-   for status in Cursor(api.user_timeline).limit(200):
+   for status in Cursor(api.user_timeline).items(200):
        process_status(status)
    
    # Only iterate through the first 3 pages