Debian Codegraph @

debian/patches/cherry-picked/0.4.27-20-g64ed0bd.typing-stubs-add-magic-init-extension-follow-symlinks-args.patch

raw symbols SCIP
1 Subjectscip-debian debian python-magic 2:0.4.27-6 python-magic/patches/`cherry-picked/0.4.27-20-g64ed0bd.typing-stubs-add-magic-init-extension-follow-symlinks-args.patch`#Subject.: Typing stubs: add Magic.__init__ extension & follow_symlinks args
2 Originscip-debian debian python-magic 2:0.4.27-6 python-magic/patches/`cherry-picked/0.4.27-20-g64ed0bd.typing-stubs-add-magic-init-extension-follow-symlinks-args.patch`#Origin.: upstream, commit 0.4.27-20-g64ed0bd <https://github.com/ahupp/python-magic/commit/0.4.27-20-g64ed0bd>
3 Authorscip-debian debian python-magic 2:0.4.27-6 python-magic/patches/`cherry-picked/0.4.27-20-g64ed0bd.typing-stubs-add-magic-init-extension-follow-symlinks-args.patch`#Author.: Robert Scott <[email protected]scip-debian . . . identity/`[email protected]`.>
4 Datescip-debian debian python-magic 2:0.4.27-6 python-magic/patches/`cherry-picked/0.4.27-20-g64ed0bd.typing-stubs-add-magic-init-extension-follow-symlinks-args.patch`#Date.: Sat Oct 7 16:35:09 2023 +0100
5 Forwardedscip-debian debian python-magic 2:0.4.27-6 python-magic/patches/`cherry-picked/0.4.27-20-g64ed0bd.typing-stubs-add-magic-init-extension-follow-symlinks-args.patch`#Forwarded.: not-needed
6
7 --- a/magic/__init__.pyiscip-debian debian python-magic 2:0.4.27-6 python-magic/upstream/`magic/__init__.pyi`:
8 +++ b/magic/__init__.pyiscip-debian debian python-magic 2:0.4.27-6 python-magic/upstream/`magic/__init__.pyi`:
9 @@ -11,7 +11,7 @@
10 flags: int = ...
11 cookie: Any = ...
12 lock: threading.Lock = ...
13 - def __init__(self, mime: bool = ..., magic_file: Optional[Any] = ..., mime_encoding: bool = ..., keep_going: bool = ..., uncompress: bool = ..., raw: bool = ...) -> None: ...
14 + def __init__(self, mime: bool = ..., magic_file: Optional[Any] = ..., mime_encoding: bool = ..., keep_going: bool = ..., uncompress: bool = ..., raw: bool = ..., extension: bool = ..., follow_symlinks: bool = ...) -> None: ...
15 def from_buffer(self, buf: Union[bytes, str]) -> Text: ...
16 def from_file(self, filename: Union[bytes, str, PathLike]) -> Text: ...
17 def from_descriptor(self, fd: int, mime: bool = ...) -> Text: ...