Skip to content

Commit cd0c4cf

Browse files
authored
Merge branch 'main' into docs/version-table
2 parents 7d2f12c + 01bd34f commit cd0c4cf

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
python -c 'import typing_extensions; import test.__main__' test_typing -v
9898
9999
- name: Upload coverage reports to Codecov
100-
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2
100+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
101101
if: >-
102102
github.repository == 'python/typing_extensions'
103103
&& (github.event_name == 'push' || github.event_name == 'pull_request')

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ help:
1717
# Catch-all target: route all unknown targets to Sphinx using the new
1818
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919
%: Makefile
20-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
20+
@$(SPHINXBUILD) -W -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
# This should usually point to /3, unless there is a necessity to link to
3131
# features in future versions of Python.
32-
intersphinx_mapping = {'py': ('https://docs.python.org/3.14', None)}
32+
intersphinx_mapping = {'py': ('https://docs.python.org/3', None)}
3333

3434
add_module_names = False
3535

doc/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ Special typing primitives
484484
``default=None`` is passed, and to :data:`NoDefault` if no value is passed.
485485

486486
Previously, passing ``None`` would result in :attr:`!__default__` being set
487-
to :py:data:`types.NoneType`, and passing no value for the parameter would
487+
to :py:class:`types.NoneType`, and passing no value for the parameter would
488488
result in :attr:`!__default__` being set to ``None``.
489489

490490
.. versionchanged:: 4.12.0
@@ -495,7 +495,7 @@ Special typing primitives
495495
.. class:: ParamSpecArgs
496496
ParamSpecKwargs
497497

498-
See :py:data:`typing.ParamSpecArgs` and :py:data:`typing.ParamSpecKwargs`.
498+
See :py:class:`typing.ParamSpecArgs` and :py:class:`typing.ParamSpecKwargs`.
499499
In ``typing`` since 3.10.
500500

501501
.. class:: Protocol
@@ -706,7 +706,7 @@ Special typing primitives
706706
``default=None`` is passed, and to :data:`NoDefault` if no value is passed.
707707

708708
Previously, passing ``None`` would result in :attr:`!__default__` being set
709-
to :py:data:`types.NoneType`, and passing no value for the parameter would
709+
to :py:class:`types.NoneType`, and passing no value for the parameter would
710710
result in :attr:`!__default__` being set to ``None``.
711711

712712
.. versionchanged:: 4.12.0
@@ -737,7 +737,7 @@ Special typing primitives
737737
``default=None`` is passed, and to :data:`NoDefault` if no value is passed.
738738

739739
Previously, passing ``None`` would result in :attr:`!__default__` being set
740-
to :py:data:`types.NoneType`, and passing no value for the parameter would
740+
to :py:class:`types.NoneType`, and passing no value for the parameter would
741741
result in :attr:`!__default__` being set to ``None``.
742742

743743
.. versionchanged:: 4.12.0
@@ -979,7 +979,7 @@ Functions
979979
* Raises :exc:`TypeError` when it encounters certain objects that are
980980
not valid type hints.
981981
* Replaces type hints that evaluate to :const:`!None` with
982-
:data:`types.NoneType`.
982+
:class:`types.NoneType`.
983983
* Supports the :attr:`Format.FORWARDREF` and
984984
:attr:`Format.STRING` formats.
985985

0 commit comments

Comments
 (0)