mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Upgrade black version (#7089)
This commit is contained in:
@@ -21,6 +21,7 @@ if sys.platform == "win32":
|
||||
type_nullable: Literal[0x1000]
|
||||
type_key: Literal[0x2000]
|
||||
knownbits: Literal[0x3FFF]
|
||||
|
||||
class Table:
|
||||
|
||||
name: str
|
||||
@@ -29,7 +30,9 @@ if sys.platform == "win32":
|
||||
def add_field(self, index: int, name: str, type: int) -> None: ...
|
||||
def sql(self) -> str: ...
|
||||
def create(self, db: _Database) -> None: ...
|
||||
|
||||
class _Unspecified: ...
|
||||
|
||||
def change_sequence(
|
||||
seq: Sequence[tuple[str, str | None, int]],
|
||||
action: str,
|
||||
@@ -44,6 +47,7 @@ if sys.platform == "win32":
|
||||
def add_tables(db: _Database, module: ModuleType) -> None: ...
|
||||
def make_id(str: str) -> str: ...
|
||||
def gen_uuid() -> str: ...
|
||||
|
||||
class CAB:
|
||||
|
||||
name: str
|
||||
@@ -55,6 +59,7 @@ if sys.platform == "win32":
|
||||
def append(self, full: str, file: str, logical: str) -> tuple[int, str]: ...
|
||||
def commit(self, db: _Database) -> None: ...
|
||||
_directories: set[str]
|
||||
|
||||
class Directory:
|
||||
|
||||
db: _Database
|
||||
@@ -90,10 +95,12 @@ if sys.platform == "win32":
|
||||
def add_file(self, file: str, src: str | None = ..., version: str | None = ..., language: str | None = ...) -> str: ...
|
||||
def glob(self, pattern: str, exclude: Container[str] | None = ...) -> list[str]: ...
|
||||
def remove_pyc(self) -> None: ...
|
||||
|
||||
class Binary:
|
||||
|
||||
name: str
|
||||
def __init__(self, fname: str) -> None: ...
|
||||
|
||||
class Feature:
|
||||
|
||||
id: str
|
||||
@@ -110,6 +117,7 @@ if sys.platform == "win32":
|
||||
attributes: int = ...,
|
||||
) -> None: ...
|
||||
def set_current(self) -> None: ...
|
||||
|
||||
class Control:
|
||||
|
||||
dlg: Dialog
|
||||
@@ -118,12 +126,14 @@ if sys.platform == "win32":
|
||||
def event(self, event: str, argument: str, condition: str = ..., ordering: int | None = ...) -> None: ...
|
||||
def mapping(self, event: str, attribute: str) -> None: ...
|
||||
def condition(self, action: str, condition: str) -> None: ...
|
||||
|
||||
class RadioButtonGroup(Control):
|
||||
|
||||
property: str
|
||||
index: int
|
||||
def __init__(self, dlg: Dialog, name: str, property: str) -> None: ...
|
||||
def add(self, name: str, x: int, y: int, w: int, h: int, text: str, value: str | None = ...) -> None: ...
|
||||
|
||||
class Dialog:
|
||||
|
||||
db: _Database
|
||||
|
||||
Reference in New Issue
Block a user