You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Doc] Remove unnecessary quotes from typing module (#137207)
* gh-106320: Remove private _PyInterpreterState functions (#106335)
Remove private _PyThreadState and _PyInterpreterState C API
functions: move them to the internal C API (pycore_pystate.h and
pycore_interp.h). Don't export most of these functions anymore, but
still export functions used by tests.
Remove _PyThreadState_Prealloc() and _PyThreadState_Init() from the C
API, but keep it in the stable API.
* Doc: minor change
* Revert "Doc: minor change"
This reverts commit ebfa093.
* [Doc] Remove unnecessary quotes from typing (See Also section)
* [Doc] Remove unnecessary quotes from typing
---------
Co-authored-by: Victor Stinner <[email protected]>
A quick overview of type hints (hosted at the mypy docs)
50
50
51
-
"Type System Reference" section of `the mypy docs <https://mypy.readthedocs.io/en/stable/index.html>`_
51
+
Type System Reference section of `the mypy docs <https://mypy.readthedocs.io/en/stable/index.html>`_
52
52
The Python typing system is standardised via PEPs, so this reference
53
53
should broadly apply to most Python type checkers. (Some parts may still
54
54
be specific to mypy.)
55
55
56
-
`"Static Typing with Python"<https://typing.python.org/en/latest/>`_
56
+
`Static Typing with Python <https://typing.python.org/en/latest/>`_
57
57
Type-checker-agnostic documentation written by the community detailing
58
58
type system features, useful typing related tools and typing best
59
59
practices.
@@ -64,7 +64,7 @@ Specification for the Python Type System
64
64
========================================
65
65
66
66
The canonical, up-to-date specification of the Python type system can be
67
-
found at `"Specification for the Python type system"<https://typing.python.org/en/latest/spec/index.html>`_.
67
+
found at `Specification for the Python type system <https://typing.python.org/en/latest/spec/index.html>`_.
68
68
69
69
.. _type-aliases:
70
70
@@ -2573,7 +2573,7 @@ types.
2573
2573
at runtime as soon as the class has been created. Monkey-patching
2574
2574
attributes onto a runtime-checkable protocol will still work, but will
2575
2575
have no impact on :func:`isinstance` checks comparing objects to the
2576
-
protocol. See :ref:`"What's new in Python 3.12"<whatsnew-typing-py312>`
2576
+
protocol. See :ref:`What's new in Python 3.12 <whatsnew-typing-py312>`
0 commit comments