Skip to content
This repository was archived by the owner on May 22, 2021. It is now read-only.

Commit 4122222

Browse files
authored
Fixed typo in example
Changed g.create_repo to g.create_repository
1 parent f38e8bf commit 4122222

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)