diff options
Diffstat (limited to 'lib/sqlalchemy/util/_py_collections.py')
-rw-r--r-- | lib/sqlalchemy/util/_py_collections.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/util/_py_collections.py b/lib/sqlalchemy/util/_py_collections.py index 725f6930e..40f515671 100644 --- a/lib/sqlalchemy/util/_py_collections.py +++ b/lib/sqlalchemy/util/_py_collections.py @@ -136,7 +136,7 @@ class OrderedSet(Set[_T]): _list: List[_T] - def __init__(self, d=None): + def __init__(self, d: Optional[Iterable[_T]] = None) -> None: if d is not None: self._list = unique_list(d) super().update(self._list) |