diff --git a/newsfragments/2842.deprecated.rst b/newsfragments/2842.deprecated.rst new file mode 100644 index 0000000000..1a2ede5022 --- /dev/null +++ b/newsfragments/2842.deprecated.rst @@ -0,0 +1 @@ +Deprecated support for ``math.inf`` for the ``backlog`` argument in ``open_tcp_listeners``, making its docstring correct in the fact that only ``TypeError`` is raised if invalid arguments are passed. diff --git a/newsfragments/2842.removal.rst b/newsfragments/2842.removal.rst deleted file mode 100644 index c249956bae..0000000000 --- a/newsfragments/2842.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Removed support for ``math.inf`` for the ``backlog`` argument in ``open_tcp_listeners``, making its docstring correct in the fact that only ``TypeError``s are raised if invalid arguments are passed. diff --git a/pyproject.toml b/pyproject.toml index 32900ff72f..e7422591f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -148,6 +148,11 @@ directory = "deprecated" name = "Deprecations and removals" showcontent = true +[[tool.towncrier.type]] +directory = "removal" +name = "Removals without deprecations" +showcontent = true + [[tool.towncrier.type]] directory = "misc" name = "Miscellaneous internal changes"