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

Appearance settings

Commit ed58e2f

Browse filesBrowse files
committed
Rmv runtime_checkable < py3.8 pt2
1 parent e6f340c commit ed58e2f
Copy full SHA for ed58e2f

2 files changed

+2-2Lines changed: 2 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎git/objects/submodule/base.py‎

Copy file name to clipboardExpand all lines: git/objects/submodule/base.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def _set_cache_(self, attr: str) -> None:
142142
reader: SectionConstraint = self.config_reader()
143143
# default submodule values
144144
try:
145-
self.path = reader.get('path')
145+
self.path: PathLike = reader.get('path')
146146
except cp.NoSectionError as e:
147147
if self.repo.working_tree_dir is not None:
148148
raise ValueError("This submodule instance does not exist anymore in '%s' file"
Collapse file

‎git/types.py‎

Copy file name to clipboardExpand all lines: git/types.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import os
66
import sys
77
from typing import (Callable, Dict, NoReturn, Tuple, Union, Any, Iterator, # noqa: F401
8-
NamedTuple, TYPE_CHECKING, TypeVar, runtime_checkable) # noqa: F401
8+
NamedTuple, TYPE_CHECKING, TypeVar) # noqa: F401
99

1010

1111
if sys.version_info[:2] >= (3, 8):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.