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

Commit01cc8e2

Browse files
committed
Fix unnecessarily long reference in Tree docstrings
There is no advantage to fully qualifying names in the same moduleas the entity being documented, but I had accidentally done that.
1 parentf83b056 commit01cc8e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎git/objects/tree.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def __delitem__(self, name: str) -> None:
162162

163163
classTree(IndexObject,git_diff.Diffable,util.Traversable,util.Serializable):
164164
R"""Tree objects represent an ordered list of :class:`~git.objects.blob.Blob`\s and
165-
other :class:`~git.objects.tree.Tree`\s.
165+
other :class:`Tree`\s.
166166
167167
Tree as a list:
168168
@@ -230,8 +230,8 @@ def join(self, file: str) -> IndexObjUnion:
230230
"""Find the named object in this tree's contents.
231231
232232
:return:
233-
:class:`~git.objects.blob.Blob`, :class:`~git.objects.tree.Tree`,
234-
or:class:`~git.objects.submodule.base.Submodule`
233+
:class:`~git.objects.blob.Blob`, :class:`Tree`, or
234+
:class:`~git.objects.submodule.base.Submodule`
235235
236236
:raise KeyError:
237237
If the given file or tree does not exist in this tree.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp