mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Add os.supports_* sets (new in 3.3) (#1005)
* Add os.supports_* sets (new in 3.3) * Use Callable[..., Any] instead of builtin.function.
This commit is contained in:
committed by
Łukasz Langa
parent
3f0eb995aa
commit
a2fe3f4c59
@@ -17,6 +17,12 @@ from mypy_extensions import NoReturn
|
||||
|
||||
supports_bytes_environ = False # TODO: True when bytes implemented?
|
||||
|
||||
if sys.version_info >= (3, 3):
|
||||
supports_dir_fd = ... # type: Set[Callable[..., Any]]
|
||||
supports_fd = ... # type: Set[Callable[..., Any]]
|
||||
supports_effective_ids = ... # type: Set[Callable[..., Any]]
|
||||
supports_follow_symlinks = ... # type: Set[Callable[..., Any]]
|
||||
|
||||
SEEK_SET = 0
|
||||
SEEK_CUR = 0
|
||||
SEEK_END = 0
|
||||
|
||||
Reference in New Issue
Block a user