From 881e3157d668d33655da29781efed843e4a6902a Mon Sep 17 00:00:00 2001 From: David Host <40680881+CptMikhailov@users.noreply.github.com> Date: Tue, 12 Feb 2019 20:54:28 -0500 Subject: Update commit.py constructor docstring Fixes issue #806: Commit requires author parameter to be of Actor type, not string. --- git/objects/commit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/objects/commit.py') diff --git a/git/objects/commit.py b/git/objects/commit.py index b7d27d92..9736914a 100644 --- a/git/objects/commit.py +++ b/git/objects/commit.py @@ -81,7 +81,7 @@ class Commit(base.Object, Iterable, Diffable, Traversable, Serializable): :param tree: Tree Tree object :param author: Actor - is the author string ( will be implicitly converted into an Actor object ) + is the author Actor object :param authored_date: int_seconds_since_epoch is the authored DateTime - use time.gmtime() to convert it into a different format -- cgit v1.2.1