mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 03:21:25 +08:00
Use octal for mode defaults (#9670)
This commit is contained in:
1 parent
48cffeeea6
commit
37a180ef7b
11 files changed
+17
-17
No files matched your search
@@ -136,7 +136,7 @@ class FileFinder(importlib.abc.PathEntryFinder):
|
||||
) -> Callable[[str], importlib.abc.PathEntryFinder]: ...
|
||||
|
||||
class SourceFileLoader(importlib.abc.FileLoader, importlib.abc.SourceLoader):
|
||||
def set_data(self, path: str, data: ReadableBuffer, *, _mode: int = 438) -> None: ...
|
||||
def set_data(self, path: str, data: ReadableBuffer, *, _mode: int = 0o666) -> None: ...
|
||||
|
||||
class SourcelessFileLoader(importlib.abc.FileLoader, importlib.abc.SourceLoader): ...
|
||||
|
||||
|
||||
Reference in new issue
Block a user