Add versionadded tags
diff --git a/Doc/library/gzip.rst b/Doc/library/gzip.rst
index 060f48e..9958638 100644
--- a/Doc/library/gzip.rst
+++ b/Doc/library/gzip.rst
@@ -88,11 +88,15 @@
    the compressed data.  *compresslevel* has the same meaning as in
    the :class:`GzipFile` constructor above.
 
+   .. versionadded:: 3.2
+
 .. function:: decompress(data)
 
    Decompress the *data*, returning a :class:`bytes` object containing the
    uncompressed data.
 
+   .. versionadded:: 3.2
+
 
 .. _gzip-usage-examples: