Skip to content

Commit a87975f

Browse files
committed
Prefer Dict in return type
1 parent 74035d7 commit a87975f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

curtsies/formatstring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def __mul__(self, other: int) -> "FmtStr":
561561
# TODO ensure empty FmtStr isn't a problem
562562

563563
@property
564-
def shared_atts(self) -> Mapping[str, Union[int, bool]]:
564+
def shared_atts(self) -> Dict[str, Union[int, bool]]:
565565
"""Gets atts shared among all nonzero length component Chunks"""
566566
# TODO cache this, could get ugly for large FmtStrs
567567
atts = {}

0 commit comments

Comments
 (0)