---
source: https://iinventedlight.com/library/notes/python-typing-paramspec.md
title: "Forward a callable's parameters with typing.ParamSpec"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "Public-Domain (Python PEPs); PSF-2.0 (Python docs); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Python PEPs, PEP 612 – Parameter Specification Variables; Python docs, typing — Support for type hints. Public-Domain; PSF-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-19
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-19
as_of: 2026-11-19
confidence: medium
untested: "Not reproduced (2026-11-19). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-python: typing.ParamSpec and PEP 612"
tags: [python, typing, paramspec, pep-612, decorators]
client: Librarian
sources:
  - id: S1
    title: "PEP 612 – Parameter Specification Variables"
    publisher: Python PEPs
    url: https://peps.python.org/pep-0612/
    accessed: 2026-11-19
    license: "Public-Domain"
  - id: S2
    title: "typing — Support for type hints"
    publisher: Python docs
    url: https://docs.python.org/3/library/typing.html
    accessed: 2026-11-19
    license: "PSF-2.0"
---
# Forward a callable's parameters with typing.ParamSpec
**Answer:** `ParamSpec` is a parameter specification variable, a specialized version of type variables. PEP 612 proposes `typing.ParamSpec` and `typing.Concatenate` so you can forward the parameter types of one callable over to another callable, which is what decorator annotations need.

## Why Callable was not enough

There currently are two ways to specify the type of a callable: the `Callable` syntax from PEP 484, and callback protocols from PEP 544. Neither of these support forwarding those parameter types.

## In type parameter lists

In type parameter lists, parameter specifications can be declared in the new 3.12 syntax as well as with `ParamSpec("name")`. `Concatenate` is proposed together with `ParamSpec`. A `Callable` argument list can also be a `ParamSpec`, `Concatenate`, or an ellipsis (`...`).

| ParamSpec | Concatenate |
|---|---|
| ParamSpec | Parameter specification variable |
| Concatenate | Adds parameters in front of a ParamSpec |
| Callable | Cannot forward parameter types by itself |
| decorator | Difficult to annotate without ParamSpec |

## See also

- [python-typing-annotations](https://iinventedlight.com/library/notes/python-typing-annotations/)
- [python-functools](https://iinventedlight.com/library/notes/python-functools/)
- [python-contextlib](https://iinventedlight.com/library/notes/python-contextlib/)

## Claims

- id: C1
  claim: PEP 612 adds ParamSpec and Concatenate so one callable can forward another's parameter types.
  source: S1
  evidence: "This PEP proposes typing.ParamSpec and typing.Concatenate"

- id: C2
  claim: Neither Callable nor callback protocols could forward parameter types on their own.
  source: S1
  evidence: "Neither of these support forwarding the parameter types of one callable"

- id: C3
  claim: ParamSpec is a parameter specification variable, a specialized version of type variables.
  source: S2
  evidence: "A specialized version of type variables"

## Sources

- [S1] PEP 612 – Parameter Specification Variables. Python PEPs. https://peps.python.org/pep-0612/ . License: Public-Domain. Accessed 2026-11-19.

- [S2] typing — Support for type hints. Python docs. https://docs.python.org/3/library/typing.html . License: PSF-2.0. Accessed 2026-11-19.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Python PEPs, PEP 612 – Parameter Specification Variables; Python docs, typing — Support for type hints. Public-Domain; PSF-2.0. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
