File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ Functions provided:
3636 stub finding behavior. All arguments are optional and the rest of the package will use
3737 a ``SearchContext `` created with the default values if no explicit context is provided.
3838 The arguments are:
39+
3940 - ``typeshed ``: The path to the typeshed directory. If not provided, the package will
4041 use the bundled version of typeshed.
4142 - ``search_path ``: A list of directories to search for stubs. If not provided,
@@ -51,6 +52,7 @@ Functions provided:
5152 - ``allow_py_files ``: If True, allow searching for ``.py `` files in addition to
5253 ``.pyi `` files. This is useful for typed packages that contain both stub files and
5354 regular Python files. The default is False.
55+
5456- ``typeshed_client.get_stub_file(module_name: str, *,
5557 search_context: SearchContext | None = None) -> Path | None ``: Returns
5658 the path to a module's stub file. For example,
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ def find_bundled_files() -> Iterable[str]:
3737 version = version ,
3838 description = "A library for accessing stubs in typeshed." ,
3939 long_description = Path ("README.rst" ).read_text (),
40+ long_description_content_type = "text/x-rst" ,
4041 keywords = "typeshed typing annotations" ,
4142 author = "Jelle Zijlstra" ,
4243
Original file line number Diff line number Diff line change 1919)
2020from .resolver import ImportedInfo , Resolver
2121
22- __version__ = "2.8.0 "
22+ __version__ = "2.8.2 "
2323
2424
2525__all__ = [
You can’t perform that action at this time.
0 commit comments