mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 02:31:09 +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:
1 parent
3f0eb995aa
commit
a2fe3f4c59
1 file changed
+6
@@ -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