summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorDavid Host <40680881+CptMikhailov@users.noreply.github.com>2019-02-12 20:54:28 -0500
committerSebastian Thiel <byronimo@gmail.com>2019-03-15 12:46:57 +0100
commit881e3157d668d33655da29781efed843e4a6902a (patch)
treecd64e546185d032dd91988e0607b460046d4d366 /git
parent11f0634803d43e6b9f248acd45f665bc1d3d2345 (diff)
downloadgitpython-881e3157d668d33655da29781efed843e4a6902a.tar.gz
Update commit.py constructor docstring
Fixes issue #806: Commit requires author parameter to be of Actor type, not string.
Diffstat (limited to 'git')
-rw-r--r--git/objects/commit.py2
1 files changed, 1 insertions, 1 deletions
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