We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
isNewType
1 parent feeee57 commit b0485f9Copy full SHA for b0485f9
CHANGES.rst
@@ -69,6 +69,7 @@ Incompatible changes
69
unless forced with ``force=True``.
70
Patch by Adam Turner.
71
* #12646: Remove :py:func:`!sphinx.util.inspect.isNewType`.
72
+ Use ``isinstance(obj, typing.NewType)`` instead on Python 3.10 and newer.
73
74
* Remove the long-deprecated (since Sphinx 2) alias
75
to :py:class:`!VersionChange` in
0 commit comments