8000 Add example to create_label · davidmoss/github3.py@78d1ee1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 78d1ee1

Browse files
committed
Add example to create_label
1 parent e864618 commit 78d1ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github3/repos/repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def create_label(self, name, color):
430430
431431
:param str name: (required), name to give to the label
432432
:param str color: (required), value of the color to assign to the
433-
label
433+
label, e.g., '#fafafa' or 'fafafa' (the latter is what is sent)
434434
:returns: :class:`Label <github3.issues.Label>` if successful, else
435435
None
436436
"""

0 commit comments

Comments
 (0)
0