Skip to content

Commit

Permalink
Add a migration note for isNewType
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jul 29, 2024
1 parent feeee57 commit b0485f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Incompatible changes
unless forced with ``force=True``.
Patch by Adam Turner.
* #12646: Remove :py:func:`!sphinx.util.inspect.isNewType`.
Use ``isinstance(obj, typing.NewType)`` instead on Python 3.10 and newer.
Patch by Adam Turner.
* Remove the long-deprecated (since Sphinx 2) alias
to :py:class:`!VersionChange` in
Expand Down

0 comments on commit b0485f9

Please sign in to comment.