mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
stdlib: Run stubdefaulter on Linux for 3.9 (#9663)
This commit is contained in:
@@ -791,16 +791,16 @@ if sys.platform != "win32":
|
||||
dir_fd: int | None = None,
|
||||
) -> Iterator[tuple[bytes, list[bytes], list[bytes], int]]: ...
|
||||
if sys.platform == "linux":
|
||||
def getxattr(path: FileDescriptorOrPath, attribute: StrOrBytesPath, *, follow_symlinks: bool = ...) -> bytes: ...
|
||||
def listxattr(path: FileDescriptorOrPath | None = ..., *, follow_symlinks: bool = ...) -> list[str]: ...
|
||||
def removexattr(path: FileDescriptorOrPath, attribute: StrOrBytesPath, *, follow_symlinks: bool = ...) -> None: ...
|
||||
def getxattr(path: FileDescriptorOrPath, attribute: StrOrBytesPath, *, follow_symlinks: bool = True) -> bytes: ...
|
||||
def listxattr(path: FileDescriptorOrPath | None = None, *, follow_symlinks: bool = True) -> list[str]: ...
|
||||
def removexattr(path: FileDescriptorOrPath, attribute: StrOrBytesPath, *, follow_symlinks: bool = True) -> None: ...
|
||||
def setxattr(
|
||||
path: FileDescriptorOrPath,
|
||||
attribute: StrOrBytesPath,
|
||||
value: ReadableBuffer,
|
||||
flags: int = ...,
|
||||
flags: int = 0,
|
||||
*,
|
||||
follow_symlinks: bool = ...,
|
||||
follow_symlinks: bool = True,
|
||||
) -> None: ...
|
||||
|
||||
def abort() -> NoReturn: ...
|
||||
@@ -983,7 +983,7 @@ if sys.platform != "win32":
|
||||
def sysconf(__name: str | int) -> int: ...
|
||||
|
||||
if sys.platform == "linux":
|
||||
def getrandom(size: int, flags: int = ...) -> bytes: ...
|
||||
def getrandom(size: int, flags: int = 0) -> bytes: ...
|
||||
|
||||
def urandom(__size: int) -> bytes: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user