File: type_stub.txt

package info (click to toggle)
python-pdoc 15.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,192 kB
  • sloc: python: 8,013; javascript: 1,156; makefile: 18; sh: 3
file content (16 lines) | stat: -rw-r--r-- 764 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<module type_stub  # This module has an a…
    <function def func(x: str, y: Any, z: Iterable[str]) -> int: ...  # A simple function.>
    <var var: list[str] = []  # Docstring override f…>
    <class type_stub.Class
        <method def __init__(): ...>
        <var attr: int = 42  # An attribute>
        <method def meth(self, y: bool) -> bool: ...  # A simple method.>
        <class type_stub.Class.Subclass
            <method def __init__(): ...>
            <var attr: str = '42'  # An attribute>
            <method def meth(self, y: bool) -> bool: ...  # A simple method.>
        >
        <method def no_type_annotation(self, z): ...  # A method not present…>
        <method def overloaded(*args, **kwds): ...  # An overloaded method…>
    >
>