Skip to content

Commit 881e315

Browse files
CptMikhailovByron
authored andcommitted
Update commit.py constructor docstring
Fixes issue gitpython-developers#806: Commit requires author parameter to be of Actor type, not string.
1 parent 11f0634 commit 881e315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: git/objects/commit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __init__(self, repo, binsha, tree=None, author=None, authored_date=None, aut
8181
:param tree: Tree
8282
Tree object
8383
:param author: Actor
84-
is the author string ( will be implicitly converted into an Actor object )
84+
is the author Actor object
8585
:param authored_date: int_seconds_since_epoch
8686
is the authored DateTime - use time.gmtime() to convert it into a
8787
different format

0 commit comments

Comments
 (0)