diff --git a/stubs/mysqlclient/MySQLdb/connections.pyi b/stubs/mysqlclient/MySQLdb/connections.pyi index e3f48d2d7..6c95e8a40 100644 --- a/stubs/mysqlclient/MySQLdb/connections.pyi +++ b/stubs/mysqlclient/MySQLdb/connections.pyi @@ -37,13 +37,13 @@ class Connection(_mysql.connection): def set_character_set(self, charset) -> None: ... def set_sql_mode(self, sql_mode) -> None: ... def show_warnings(self): ... - Warning: Any - Error: Any - InterfaceError: Any - DatabaseError: Any - DataError: Any - OperationalError: Any - IntegrityError: Any - InternalError: Any - ProgrammingError: Any - NotSupportedError: Any + Warning: type[BaseException] + Error: type[BaseException] + InterfaceError: type[BaseException] + DatabaseError: type[BaseException] + DataError: type[BaseException] + OperationalError: type[BaseException] + IntegrityError: type[BaseException] + InternalError: type[BaseException] + ProgrammingError: type[BaseException] + NotSupportedError: type[BaseException]