mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Avoid unnecessary forward refs in class definitions (#10124)
This commit is contained in:
@@ -390,14 +390,13 @@ class Cursor(Iterator[Any]):
|
||||
def __iter__(self) -> Self: ...
|
||||
def __next__(self) -> Any: ...
|
||||
|
||||
class DataError(DatabaseError): ...
|
||||
class DatabaseError(Error): ...
|
||||
|
||||
class Error(Exception):
|
||||
if sys.version_info >= (3, 11):
|
||||
sqlite_errorcode: int
|
||||
sqlite_errorname: str
|
||||
|
||||
class DatabaseError(Error): ...
|
||||
class DataError(DatabaseError): ...
|
||||
class IntegrityError(DatabaseError): ...
|
||||
class InterfaceError(Error): ...
|
||||
class InternalError(DatabaseError): ...
|
||||
|
||||
Reference in New Issue
Block a user