PyDocs

Nav

Development Tools

Concatenate

typing

data · Added in 3.10
Special form for annotating higher-order functions.

``Concatenate`` can be used in conjunction with ``ParamSpec`` and
``Callable`` to represent a higher-order function which adds, removes or
transforms the parameters of a callable.

For example::

    Callable[Concatenate[int, P], int]

See PEP 612 for detailed information.
0 Examples
No examples for typing/Concatenate.
See Also
No see-alsos for typing/Concatenate
0 Notes
No notes for Concatenate