mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Remove sqlite3/dbapi2.pyi from pyright excludelist (#9148)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import sqlite3
|
||||
import sys
|
||||
from _typeshed import ReadableBuffer, Self, StrOrBytesPath, SupportsLenAndGetItem
|
||||
from _typeshed import Incomplete, ReadableBuffer, Self, StrOrBytesPath, SupportsLenAndGetItem
|
||||
from collections.abc import Callable, Generator, Iterable, Iterator, Mapping
|
||||
from datetime import date, datetime, time
|
||||
from types import TracebackType
|
||||
@@ -227,9 +227,9 @@ else:
|
||||
|
||||
if sys.version_info < (3, 8):
|
||||
class Cache:
|
||||
def __init__(self, *args, **kwargs) -> None: ...
|
||||
def display(self, *args, **kwargs) -> None: ...
|
||||
def get(self, *args, **kwargs) -> None: ...
|
||||
def __init__(self, *args: Incomplete, **kwargs: object) -> None: ...
|
||||
def display(self, *args: Incomplete, **kwargs: Incomplete) -> None: ...
|
||||
def get(self, *args: Incomplete, **kwargs: Incomplete) -> None: ...
|
||||
|
||||
class _AggregateProtocol(Protocol):
|
||||
def step(self, __value: int) -> object: ...
|
||||
@@ -437,7 +437,7 @@ if sys.version_info >= (3, 8):
|
||||
else:
|
||||
@final
|
||||
class Statement:
|
||||
def __init__(self, *args, **kwargs): ...
|
||||
def __init__(self, *args: Incomplete, **kwargs: Incomplete) -> None: ...
|
||||
_Statement: TypeAlias = Statement
|
||||
|
||||
class Warning(Exception): ...
|
||||
|
||||
Reference in New Issue
Block a user