Skip to content

Commit 5bb7a87

Browse files
committed
Modify a type annotation
1 parent 06177e7 commit 5bb7a87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simplesqlite/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def __init__(self, key: Union[str, Attr, AttrList]) -> None:
192192
raise TypeError(f"key should be a string/Attr/AttrList instance: actual={type(key)}")
193193

194194
if isinstance(key, str):
195-
self.__key = Attr(key) # type: Union[Attr, AttrList]
195+
self.__key: Union[Attr, AttrList] = Attr(key)
196196
else:
197197
self.__key = key
198198

0 commit comments

Comments
 (0)