mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-08 08:58:30 +08:00
Fix dunder-method positional-only parameter discrepancies in third-party stubs (#14529)
This commit is contained in:
@@ -209,7 +209,7 @@ class Column:
|
||||
def __len__(self) -> int: ...
|
||||
def __lt__(self, other, /): ...
|
||||
def __ne__(self, other, /): ...
|
||||
def __setstate__(self, state): ...
|
||||
def __setstate__(self, state, /): ...
|
||||
|
||||
class ConnectionInfo:
|
||||
# Note: the following properties can be None if their corresponding libpq function
|
||||
@@ -277,7 +277,7 @@ class Error(Exception):
|
||||
pgerror: str | None
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
def __reduce__(self): ...
|
||||
def __setstate__(self, state): ...
|
||||
def __setstate__(self, state, /): ...
|
||||
|
||||
class DatabaseError(Error): ...
|
||||
class DataError(DatabaseError): ...
|
||||
|
||||
Reference in New Issue
Block a user