Skip to content

Commit 9a6e407

Browse files
committed
*watch* methods does not exist
1 parent f09b35e commit 9a6e407

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/examples/github.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,11 @@ I'm cheating here and using most of the follow functions in one example
131131
if not g.is_following(sigma):
132132
g.follow(sigma)
133133

134-
if not g.is_watching(sigma, github3py):
135-
g.watch(sigma, github3py)
134+
if not g.is_subscribed(sigma, github3py):
135+
g.subscribe(sigma, github3py)
136136

137-
if g.is_watching(sigma, todopy):
138-
g.unwatch(sigma, todopy)
137+
if g.is_subscribed(sigma, todopy):
138+
g.unsubscribe(sigma, todopy)
139139

140140
for follower in g.list_followers():
141141
print("{0} is following me.".format(follower.login))

0 commit comments

Comments
 (0)