mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-25 21:31:09 +08:00
Re-export more os functions in posix, tweak availability on linux (#6529)
This commit is contained in:
@@ -57,12 +57,6 @@ grp.struct_group.n_unnamed_fields
|
||||
mimetypes.MimeTypes.read_windows_registry
|
||||
os.ST_NOSUID
|
||||
os.ST_RDONLY
|
||||
posix.chflags
|
||||
posix.dup2
|
||||
posix.lchflags
|
||||
posix.lchmod
|
||||
posix.wait3
|
||||
posix.wait4
|
||||
resource.struct_rusage.n_fields
|
||||
resource.struct_rusage.n_sequence_fields
|
||||
resource.struct_rusage.n_unnamed_fields
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
_curses.color_pair
|
||||
curses.color_pair
|
||||
os.pipe2
|
||||
(os|posix).posix_fadvise
|
||||
(os|posix).posix_fallocate
|
||||
(os|posix).sched_getaffinity
|
||||
|
||||
@@ -12,9 +12,6 @@ os.EX_NOTFOUND
|
||||
os.SF_MNOWAIT
|
||||
os.SF_NODISKIO
|
||||
os.SF_SYNC
|
||||
os.chflags
|
||||
os.lchflags
|
||||
os.lchmod
|
||||
os.plock
|
||||
posix.EX_NOTFOUND
|
||||
select.EPOLL_RDHUP
|
||||
@@ -65,10 +62,6 @@ mimetypes.MimeTypes.read_windows_registry
|
||||
(os|posix).waitid_result.n_fields
|
||||
(os|posix).waitid_result.n_sequence_fields
|
||||
(os|posix).waitid_result.n_unnamed_fields
|
||||
posix.dup2
|
||||
posix.pipe2
|
||||
posix.wait3
|
||||
posix.wait4
|
||||
resource.struct_rusage.n_fields
|
||||
resource.struct_rusage.n_sequence_fields
|
||||
resource.struct_rusage.n_unnamed_fields
|
||||
|
||||
Reference in New Issue
Block a user