summaryrefslogtreecommitdiff
path: root/docs/ref/utils.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-09-11 09:57:44 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-09-18 22:12:40 +0200
commit295467c04ab4c26a1a9d3798b1e941003fa116cf (patch)
treeeac57d86bd2c1664b63d17a4325cfffbf720ae44 /docs/ref/utils.txt
parent590a31eb105292510ce94adebc85d691b30f49ca (diff)
Removed versionadded/changed annotations for 4.2.
This also removes remaining versionadded/changed annotations for older versions.
Diffstat (limited to 'docs/ref/utils.txt')
-rw-r--r--docs/ref/utils.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index acbe5d51a6..4e28690f44 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -685,10 +685,6 @@ escaping HTML.
serialize the data. See :ref:`JSON serialization
<serialization-formats-json>` for more details about this serializer.
- .. versionchanged:: 4.2
-
- The ``encoder`` argument was added.
-
.. function:: strip_tags(value)
Tries to remove anything that looks like an HTML tag from the string, that
@@ -742,8 +738,6 @@ escaping HTML.
.. function:: content_disposition_header(as_attachment, filename)
- .. versionadded:: 4.2
-
Constructs a ``Content-Disposition`` HTTP header value from the given
``filename`` as specified by :rfc:`6266`. Returns ``None`` if
``as_attachment`` is ``False`` and ``filename`` is ``None``, otherwise