8000 Docs: Update contents to file_contents · wickmaster/github3.py@14a5da3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 14a5da3

Browse files
authored
Docs: Update contents to file_contents
1 parent 892f5ab commit 14a5da3

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
@@ -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)
0