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

Commite586949

Browse files
authored
Merge pull requestsigmavirus24#937 from stevennyman/patch-1
Docs: Update contents to file_contents
2 parents892f5ab +977647d commite586949

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎AUTHORS.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,5 @@ Contributors
178178
- James E. Blair (@jeblair)
179179

180180
- Simon Westphahl (@westphahl)
181+
182+
- Steven Nyman (@stevennyman)

‎docs/source/examples/github.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Create a commit to change an existing file
126126

127127
::
128128

129-
repo.contents('/README.md').update('commit message', 'file content'.encode('utf-8'))
129+
repo.file_contents('/README.md').update('commit message', 'file content'.encode('utf-8'))
130130

131131
Follow another user on GitHub
132132
-----------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp