]> jfr.im git - z_archive/twitter.git/commitdiff
Update docstring to match current API
authorHugo <redacted>
Mon, 9 Feb 2015 11:38:24 +0000 (13:38 +0200)
committerHugo <redacted>
Mon, 9 Feb 2015 11:38:24 +0000 (13:38 +0200)
twitter/api.py

index 25d55c6ffa156f5325fea1cbdf29c98e21ccbefe..94574c4f7cf60279323246977ab925d872df1370 100644 (file)
@@ -399,11 +399,7 @@ class Twitter(TwitterCall):
             text="I think yer swell!")
 
         # Get the members of tamtar's list "Things That Are Rad"
-        t._("tamtar")._("things-that-are-rad").members()
-
-        # Note how the magic `_` method can be used to insert data
-        # into the middle of a call. You can also use replacement:
-        t.user.list.members(user="tamtar", list="things-that-are-rad")
+        t.lists.members(owner_screen_name="tamtar", slug="things-that-are-rad")
 
         # An *optional* `_timeout` parameter can also be used for API
         # calls which take much more time than normal or twitter stops