Skip to content

Commit 5ec98e8

Browse files
committed
Fix type hint
Sphinx does not understand forwared references without quotes. So autodoc will fail if the quotes are missing.
1 parent 6b689f0 commit 5ec98e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atom/datastructures/sortedmap.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class sortedmap(Generic[K, V]):
2424
def keys(self) -> List[K]: ...
2525
def values(self) -> List[V]: ...
2626
def items(self) -> List[Tuple[K, V]]: ...
27-
def copy(self) -> sortedmap[K, V]: ...
27+
def copy(self) -> "sortedmap[K, V]": ...
2828
def __contains__(self, key: K) -> bool: ...
2929
def __getitem__(self, key: K) -> V: ...
3030
def __setitem__(self, key: K, value: V) -> None: ...

0 commit comments

Comments
 (0)