mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
stdlib: Add missing re-exports for UuidCreate, FCICreate, OpenDatabase & CreateRecord
This commit is contained in:
committed by
Jelle Zijlstra
parent
77829c5c99
commit
aa383624cf
@@ -43,6 +43,6 @@ if sys.platform == "win32":
|
||||
__new__: None # type: ignore[assignment]
|
||||
__init__: None # type: ignore[assignment]
|
||||
def UuidCreate() -> str: ...
|
||||
def FCICreate(cabname: str, files: list[str]) -> None: ...
|
||||
def OpenDatabase(name: str, flags: int) -> _Database: ...
|
||||
def CreateRecord(count: int) -> _Record: ...
|
||||
def FCICreate(__cabname: str, __files: list[str]) -> None: ...
|
||||
def OpenDatabase(__path: str, __persist: int) -> _Database: ...
|
||||
def CreateRecord(__count: int) -> _Record: ...
|
||||
|
||||
@@ -4,7 +4,13 @@ from typing import Any, Container, Iterable, Sequence
|
||||
from typing_extensions import Literal
|
||||
|
||||
if sys.platform == "win32":
|
||||
from _msi import _Database
|
||||
from _msi import (
|
||||
CreateRecord as CreateRecord,
|
||||
FCICreate as FCICreate,
|
||||
OpenDatabase as OpenDatabase,
|
||||
UuidCreate as UuidCreate,
|
||||
_Database,
|
||||
)
|
||||
|
||||
AMD64: bool
|
||||
if sys.version_info < (3, 7):
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
_msi.CreateRecord
|
||||
_msi.FCICreate
|
||||
_msi.OpenDatabase
|
||||
sqlite3.Connection.enable_load_extension
|
||||
sqlite3.Connection.load_extension
|
||||
sqlite3.dbapi2.Connection.enable_load_extension
|
||||
|
||||
Reference in New Issue
Block a user