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

Commit50aea99

Browse files
Remove redundantfspath
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parentb3908ed commit50aea99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/refs/symbolic.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def __init__(self, repo: "Repo", path: PathLike, check_path: bool = False) -> No
7979
self.path=os.fspath(path)
8080

8181
def__str__(self)->str:
82-
returnos.fspath(self.path)
82+
returnself.path
8383

8484
def__repr__(self)->str:
8585
return'<git.%s "%s">'% (self.__class__.__name__,self.path)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp