mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-14 22:21:44 +08:00
move stat.FILE_ATTRIBUTE_* to _stat.pyi and fix availability (#6761)
This commit is contained in:
@@ -37,6 +37,9 @@ fcntl.[A-Z0-9_]+
|
||||
os.SCHED_[A-Z_]+
|
||||
posix.SCHED_[A-Z_]+
|
||||
|
||||
# Some of these exist on non-windows, but they are useless and this is not intended
|
||||
stat.FILE_ATTRIBUTE_[A-Z_]+
|
||||
|
||||
# Loadable SQLite extensions are disabled on GitHub runners
|
||||
(sqlite3(.dbapi2)?.Connection.enable_load_extension)?
|
||||
(sqlite3(.dbapi2)?.Connection.load_extension)?
|
||||
|
||||
@@ -40,6 +40,9 @@ fcntl.[A-Z0-9_]+
|
||||
os.SCHED_[A-Z_]+
|
||||
posix.SCHED_[A-Z_]+
|
||||
|
||||
# Some of these exist on non-windows, but they are useless and this is not intended
|
||||
stat.FILE_ATTRIBUTE_[A-Z_]+
|
||||
|
||||
# Loadable SQLite extensions are disabled on GitHub runners
|
||||
(sqlite3(.dbapi2)?.Connection.enable_load_extension)?
|
||||
(sqlite3(.dbapi2)?.Connection.load_extension)?
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
_msi.MSI[A-Z_]+
|
||||
_msi.PID_[A-Z_]+
|
||||
_stat.FILE_ATTRIBUTE_[A-Z_]+
|
||||
ctypes.GetLastError # Is actually a pointer
|
||||
distutils.archive_util.getgrnam
|
||||
distutils.archive_util.getpwnam
|
||||
|
||||
Reference in New Issue
Block a user