Skip to content

Commit 60e4b06

Browse files
authored
Merge pull request sigmavirus24#901 from RileyEv/patch-1
Fixed typo in GitHub example for creating a new repo
2 parents f38e8bf + 4122222 commit 60e4b06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/examples/github.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Creating a new repository
116116

117117
r = None
118118
if repo.get('name'):
119-
r = g.create_repo(repo.pop('name'), **repo)
119+
r = g.create_repository(repo.pop('name'), **repo)
120120

121121
if r:
122122
print("Created {0} successfully.".format(r.name))

0 commit comments

Comments
 (0)