mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-12 10:52:31 +08:00
Update most test/lint dependencies (#15582)
This commit is contained in:
@@ -174,12 +174,10 @@ class PyACL:
|
||||
def Initialize(self) -> None: ...
|
||||
def IsValid(self) -> bool: ...
|
||||
@overload
|
||||
@deprecated(
|
||||
"""\
|
||||
@deprecated("""\
|
||||
Early versions of this function supported only two arguments. \
|
||||
This has been deprecated in preference of the three argument version, \
|
||||
which reflects the win32 API and the new functions in this module."""
|
||||
)
|
||||
which reflects the win32 API and the new functions in this module.""")
|
||||
def AddAccessAllowedAce(self, access: int, sid: PySID, /) -> None: ...
|
||||
@overload
|
||||
def AddAccessAllowedAce(self, revision: int, access: int, sid: PySID, /) -> None: ...
|
||||
@@ -188,12 +186,10 @@ which reflects the win32 API and the new functions in this module."""
|
||||
self, AceRevision, AceFlags, AccessMask, ObjectTypeGuid: PyIID, InheritedObjectTypeGuid: PyIID, sid: PySID, /
|
||||
) -> None: ...
|
||||
@overload
|
||||
@deprecated(
|
||||
"""\
|
||||
@deprecated("""\
|
||||
Early versions of this function supported only two arguments. \
|
||||
This has been deprecated in preference of the three argument version, \
|
||||
which reflects the win32 API and the new functions in this module."""
|
||||
)
|
||||
which reflects the win32 API and the new functions in this module.""")
|
||||
def AddAccessDeniedAce(self, access: int, sid: PySID, /) -> None: ...
|
||||
@overload
|
||||
def AddAccessDeniedAce(self, revision: int, access: int, sid: PySID, /) -> None: ...
|
||||
@@ -244,13 +240,11 @@ class PyCERTSTORE:
|
||||
@overload
|
||||
def CertCloseStore(self) -> None: ...
|
||||
@overload
|
||||
@deprecated(
|
||||
"""\
|
||||
@deprecated("""\
|
||||
`Flags` argument has been deprecated as it is likely to crash the process if \
|
||||
`CERT_CLOSE_STORE_FORCE_FLAG` is specified. The underlying function is now \
|
||||
always called with `CERT_CLOSE_STORE_CHECK_FLAG`, and support for this \
|
||||
param will be dropped at some point in the future."""
|
||||
)
|
||||
param will be dropped at some point in the future.""")
|
||||
def CertCloseStore(self, Flags: int) -> None: ...
|
||||
def CertControlStore(self, Flags, CtrlType, CtrlPara: int) -> None: ...
|
||||
def CertEnumCertificatesInStore(self) -> list[PyCERT_CONTEXT]: ...
|
||||
|
||||
@@ -14,7 +14,7 @@ def GetConnectStatus(hrasconn, /) -> tuple[Incomplete, Incomplete, str, str]: ..
|
||||
def GetEntryDialParams(
|
||||
fileName: str, entryName: str, /
|
||||
) -> tuple[tuple[Incomplete, Incomplete, Incomplete, Incomplete, Incomplete, Incomplete], bool]: ...
|
||||
def GetErrorString(error, /) -> str: ... # noqa: F811
|
||||
def GetErrorString(error, /) -> str: ...
|
||||
def HangUp(hras, /) -> None: ...
|
||||
def IsHandleValid(hras: int | None, /) -> bool: ...
|
||||
def SetEntryDialParams(fileName: str, RasDialParams, bSavePassword, /) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user