Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60e4b06

Browse files
authored
Merge pull requestsigmavirus24#901 from RileyEv/patch-1
Fixed typo in GitHub example for creating a new repo
2 parentsf38e8bf +4122222 commit60e4b06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/source/examples/github.rst‎

Lines changed: 1 addition & 1 deletion
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)

[8]ページ先頭

©2009-2025 Movatter.jp