Skip to content

Commit 0ea0432

Browse files
authored
Fix psycopg2.sql.SQL.join annotation (#10716)
1 parent bbd9dd1 commit 0ea0432

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stubs/psycopg2/psycopg2/sql.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from _typeshed import SupportsIter
21
from collections.abc import Iterable, Iterator
32
from typing import Any, Generic, TypeVar
43

@@ -27,7 +26,7 @@ class SQL(Composable):
2726
@property
2827
def string(self) -> str: ...
2928
def format(self, *args: Composable, **kwargs: Composable) -> Composed: ...
30-
def join(self, seq: SupportsIter[Composable]) -> Composed: ...
29+
def join(self, seq: Iterable[Composable]) -> Composed: ...
3130

3231
class Identifier(Composable):
3332
def __init__(self, *strings: str) -> None: ...

0 commit comments

Comments
 (0)