1 2 3 4 5 6 7 8 9 10 11 12 13
|
<module misc_py312 # Testing features tha…
<var MyType = int # A custom Python 3.12…>
<var foo: MyType # A custom type instan…>
<var MyTypeWithoutDocstring = int>
<var MyTypeClassic: TypeAlias = int # inherited from builtins.int, A "classic" typing.T…>
<class misc_py312.NamedTupleExample # An example for a typ…
<method def __init__(_cls, name: str, id: int = 3): ... # Create new instance …>
<var name: str # Name of our example …>
<var id: int # Alias for field numb…>
<method def index(self, value, start=0, stop=9223372036854775807, /): ... # inherited from builtins.tuple.index, Return first index o…>
<method def count(self, value, /): ... # inherited from builtins.tuple.count, Return number of occ…>
>
>
|