mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove deprecated functions in `sphinx.util.typing
`
This commit is contained in:
parent
7225e4032a
commit
d33399a915
@ -36,6 +36,9 @@ Incompatible changes
|
|||||||
* Removed :py:func:`!sphinx.util.osutil.cd`
|
* Removed :py:func:`!sphinx.util.osutil.cd`
|
||||||
(use :py:func:`contextlib.chdir`).
|
(use :py:func:`contextlib.chdir`).
|
||||||
Patch by Adam Turner.
|
Patch by Adam Turner.
|
||||||
|
* Removed :py:func:`!sphinx.util.typing.stringify`
|
||||||
|
(use :py:func:`!sphinx.util.typing.stringify_annotation`).
|
||||||
|
Patch by Adam Turner.
|
||||||
|
|
||||||
Deprecated
|
Deprecated
|
||||||
----------
|
----------
|
||||||
|
@ -575,7 +575,6 @@ def _format_literal_arg_stringify(arg: Any, /, *, mode: str) -> str:
|
|||||||
|
|
||||||
# deprecated name -> (object to return, canonical path or empty string, removal version)
|
# deprecated name -> (object to return, canonical path or empty string, removal version)
|
||||||
_DEPRECATED_OBJECTS: dict[str, tuple[Any, str, tuple[int, int]]] = {
|
_DEPRECATED_OBJECTS: dict[str, tuple[Any, str, tuple[int, int]]] = {
|
||||||
'stringify': (stringify_annotation, 'sphinx.util.typing.stringify_annotation', (8, 0)),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user