Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd1ce940

Browse files
committed
Remove extraparents param in Commit.__init__ docstring
It was listed earlier and was incorrect, not corresponding to theposition or type of this initializer's actual `parents` parameter.
1 parent191f4cf commitd1ce940

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)

[8]ページ先頭

©2009-2025 Movatter.jp