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

Commit3640bc0

Browse files
committed
Remove public argument for anon gist creation.
1 parent27a4267 commit3640bc0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎docs/examples/gist.rst‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Creating an anonymous gist
4646
'content': 'What... is the air-speed velocity of an unladen swallow?'
4747
}
4848
}
49-
gist = create_gist('Answer this to cross the bridge', files, public=False)
49+
gist = create_gist('Answer this to cross the bridge', files)
5050
comments = [c for c in gist.iter_comments()]
5151
# []
5252
comment = gist.create_comment('Bogus. This will not work.')
@@ -59,3 +59,5 @@ file type based on extension provided. ``'What... is the air-speed velocity of
5959
an unladen swallow?'`` is the file's content or body. ``'Answer this to cross
6060
the bridge'`` is the gists's description. While required by github3.py, it is
6161
allowed to be empty, e.g., ``''`` is accepted by GitHub.
62+
63+
Note that anonymous gists are always public.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp