PEP 692: Update Reference Implementation section (#2779)
This commit is contained in:
parent
97e3dbde98
commit
5432a30b84
11
pep-0692.rst
11
pep-0692.rst
|
@ -531,12 +531,11 @@ the `mypy documentation <https://mypy.readthedocs.io/>`_ and the
|
||||||
Reference Implementation
|
Reference Implementation
|
||||||
========================
|
========================
|
||||||
|
|
||||||
There is a proof-of-concept implementation of typing ``**kwargs`` using
|
The `mypy type checker <https://github.com/python/mypy>`_ already
|
||||||
``TypedDict`` as a `pull request to mypy <mypyPull10576_>`__
|
`supports <https://github.com/python/mypy/pull/13471>`_ more precise
|
||||||
and `to mypy_extensions <mypyExtensionsPull22_>`__.
|
``**kwargs`` typing using ``Unpack``.
|
||||||
The implementation uses ``Expand`` instead of ``Unpack``.
|
|
||||||
|
|
||||||
The `Pyright type checker <https://github.com/microsoft/pyright>`_
|
`Pyright type checker <https://github.com/microsoft/pyright>`_ also
|
||||||
`provides provisional support <pyrightProvisionalImplementation_>`__
|
`provides provisional support <pyrightProvisionalImplementation_>`__
|
||||||
for `this feature <pyrightIssue3002_>`__.
|
for `this feature <pyrightIssue3002_>`__.
|
||||||
|
|
||||||
|
@ -582,8 +581,6 @@ References
|
||||||
|
|
||||||
.. _httpxIssue1384: https://github.com/encode/httpx/issues/1384
|
.. _httpxIssue1384: https://github.com/encode/httpx/issues/1384
|
||||||
.. _mypyIssue4441: https://github.com/python/mypy/issues/4441
|
.. _mypyIssue4441: https://github.com/python/mypy/issues/4441
|
||||||
.. _mypyPull10576: https://github.com/python/mypy/pull/10576
|
|
||||||
.. _mypyExtensionsPull22: https://github.com/python/mypy_extensions/pull/22/files
|
|
||||||
.. _pyrightIssue3002: https://github.com/microsoft/pyright/issues/3002
|
.. _pyrightIssue3002: https://github.com/microsoft/pyright/issues/3002
|
||||||
.. _pyrightProvisionalImplementation: https://github.com/microsoft/pyright/commit/5bee749eb171979e3f526cd8e5bf66b00593378a
|
.. _pyrightProvisionalImplementation: https://github.com/microsoft/pyright/commit/5bee749eb171979e3f526cd8e5bf66b00593378a
|
||||||
.. _cpythonGrammarChangePoc: https://github.com/python/cpython/compare/main...franekmagiera:annotate-kwargs
|
.. _cpythonGrammarChangePoc: https://github.com/python/cpython/compare/main...franekmagiera:annotate-kwargs
|
||||||
|
|
Loading…
Reference in New Issue