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

Commit271328f

Browse files
authored
Merge pull request#2078 from extrwi/submodule-update-return-type
Use actual return type in annotation for method submodule_update
2 parentsba5c10d +9dd0081 commit271328f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/repo/base.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def iter_submodules(self, *args: Any, **kwargs: Any) -> Iterator[Submodule]:
520520
"""
521521
returnRootModule(self).traverse(*args,**kwargs)
522522

523-
defsubmodule_update(self,*args:Any,**kwargs:Any)->Iterator[Submodule]:
523+
defsubmodule_update(self,*args:Any,**kwargs:Any)->RootModule:
524524
"""Update the submodules, keeping the repository consistent as it will
525525
take the previous state into consideration.
526526

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp