PyDocs

Nav

Development Tools

ParamSpecArgs

typing

class · Added in 3.10
The args for a ParamSpec object.

Given a ParamSpec object P, P.args is an instance of ParamSpecArgs.

ParamSpecArgs objects have a reference back to their ParamSpec::

    >>> P = ParamSpec("P")
    >>> P.args.__origin__ is P
    True

This type is meant for runtime introspection and has no special meaning
to static type checkers.
0 Examples
No examples for typing/ParamSpecArgs.
See Also
No see-alsos for typing/ParamSpecArgs
0 Notes
No notes for ParamSpecArgs