Skip to content

Commit 3491368

Browse files
miss-islingtonadorilsonvstinner
authored
[3.13] [Doc] Remove unnecessary quotes from typing module (GH-137207) (#137540)
[Doc] Remove unnecessary quotes from typing module (GH-137207) * gh-106320: Remove private _PyInterpreterState functions (GH-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 --------- (cherry picked from commit f06fcb7) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent f565c09 commit 3491368

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/library/typing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ provides backports of these new features to older versions of Python.
4545

4646
.. seealso::
4747

48-
`"Typing cheat sheet" <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html>`_
48+
`Typing cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html>`_
4949
A quick overview of type hints (hosted at the mypy docs)
5050

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>`_
5252
The Python typing system is standardised via PEPs, so this reference
5353
should broadly apply to most Python type checkers. (Some parts may still
5454
be specific to mypy.)
5555

56-
`"Static Typing with Python" <https://typing.python.org/en/latest/>`_
56+
`Static Typing with Python <https://typing.python.org/en/latest/>`_
5757
Type-checker-agnostic documentation written by the community detailing
5858
type system features, useful typing related tools and typing best
5959
practices.
@@ -64,7 +64,7 @@ Specification for the Python Type System
6464
========================================
6565

6666
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>`_.
6868

6969
.. _type-aliases:
7070

@@ -2471,7 +2471,7 @@ types.
24712471
at runtime as soon as the class has been created. Monkey-patching
24722472
attributes onto a runtime-checkable protocol will still work, but will
24732473
have no impact on :func:`isinstance` checks comparing objects to the
2474-
protocol. See :ref:`"What's new in Python 3.12" <whatsnew-typing-py312>`
2474+
protocol. See :ref:`What's new in Python 3.12 <whatsnew-typing-py312>`
24752475
for more details.
24762476

24772477

0 commit comments

Comments
 (0)