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

git/objects/commit.py

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy