mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-15 21:12:58 +08:00
make stat.FILE_ATTRIBUTE_* available on all platforms (#14866)
This commit is contained in:
1 parent
e524443825
commit
5aea29705b
3 files changed
+108
-7
No files matched your search
@@ -53,9 +53,6 @@ multiprocessing.popen_spawn_win32 # exists on Darwin but fails to import
|
||||
readline.append_history_file # Only available if compiled with GNU readline, not editline
|
||||
select.poll # Actually a function; we have a class so it can be used as a type
|
||||
|
||||
# Some of these exist on non-windows, but they are useless and this is not intended
|
||||
stat.FILE_ATTRIBUTE_[A-Z_]+
|
||||
|
||||
tkinter.Tk.createfilehandler # Methods that come from __getattr__() at runtime
|
||||
tkinter.Tk.deletefilehandler # Methods that come from __getattr__() at runtime
|
||||
|
||||
|
||||
@@ -54,9 +54,6 @@ _?socket.SOL_IPX
|
||||
_?socket.SOL_NETROM
|
||||
_?socket.SOL_ROSE
|
||||
|
||||
# Some of these exist on non-windows, but they are useless and this is not intended
|
||||
stat.FILE_ATTRIBUTE_[A-Z_]+
|
||||
|
||||
# This is available on Linux, but it's documented as for kernel debugging and
|
||||
# not present on GitHub Actions runners.
|
||||
termios.TIOCTTYGSTRUCT
|
||||
|
||||
Reference in new issue
Block a user