Commits

Ian Cordasco committed eb6153a Merge

Merge remote-tracking branch 'github/pr/51' into magic_json

Comments (0)

Files changed (1)

docs/examples/github.rst

     if not g.is_following(sigma):
         g.follow(sigma)
 
-    if not g.is_watching(sigma, github3py):
-        g.watch(sigma, github3py)
+    if not g.is_subscribed(sigma, github3py):
+        g.subscribe(sigma, github3py)
 
-    if g.is_watching(sigma, todopy):
-        g.unwatch(sigma, todopy)
+    if g.is_subscribed(sigma, todopy):
+        g.unsubscribe(sigma, todopy)
 
     for follower in g.list_followers():
         print("{0} is following me.".format(follower.login))