Skip to content

Comments

Fix cross-references for ParamSpecArgs/ParamSpecKwargs#670

Merged
JelleZijlstra merged 1 commit intopython:mainfrom
brianschubert:docs-paramspecargs-links
Sep 2, 2025
Merged

Fix cross-references for ParamSpecArgs/ParamSpecKwargs#670
JelleZijlstra merged 1 commit intopython:mainfrom
brianschubert:docs-paramspecargs-links

Conversation

@brianschubert
Copy link
Contributor

The current references to typing.ParamSpec{Args,Kwargs} don't generate links: https://typing-extensions.readthedocs.io/en/latest/#typing_extensions.ParamSpecKwargs

The upstream docs use .. data::, so I guess we need to use :py:data: here.

Also merge ParamSpecArgs and ParamSpecKwargs into one directive while we're here. This slightly improves the spacing but shouldn't otherwise affect the docs (in particular, links to either name will still work).

@JelleZijlstra JelleZijlstra merged commit 66146e7 into python:main Sep 2, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants