Skip to content

Commit d1ce940

Browse files
committed
Remove extra parents param in Commit.__init__ docstring
It was listed earlier and was incorrect, not corresponding to the position or type of this initializer's actual `parents` parameter.
1 parent 191f4cf commit d1ce940

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

git/objects/commit.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,12 @@ def __init__(
112112
encoding: Union[str, None] = None,
113113
gpgsig: Union[str, None] = None,
114114
) -> None:
115-
R"""Instantiate a new :class:`Commit`. All keyword arguments taking ``None`` as
115+
"""Instantiate a new :class:`Commit`. All keyword arguments taking ``None`` as
116116
default will be implicitly set on first query.
117117
118118
:param binsha:
119119
20 byte sha1.
120120
121-
:param parents: tuple(Commit, ...)
122-
A tuple of commit ids or actual :class:`Commit`\s.
123-
124121
:param tree:
125122
A :class:`~git.objects.tree.Tree` object.
126123

0 commit comments

Comments
 (0)