]> granicus.if.org Git - python/commitdiff
bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6864)
authorPetr Viktorin <encukou@gmail.com>
Tue, 15 May 2018 17:31:47 +0000 (13:31 -0400)
committerGitHub <noreply@github.com>
Tue, 15 May 2018 17:31:47 +0000 (13:31 -0400)
This is a backport of the documentation part of GH-6862

Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
Doc/library/platform.rst

index eea0abbae4d41eb968ca508a7ac553eb6df2c6c9..f5cb52cb4745b4cf2d8049cf20b0e53a2906c50e 100644 (file)
@@ -248,7 +248,8 @@ Unix Platforms
 
    This is another name for :func:`linux_distribution`.
 
-   .. deprecated-removed:: 3.5 3.7
+   .. deprecated-removed:: 3.5 3.8
+      See alternative like the `distro <https://pypi.org/project/distro>`_ package.
 
 .. function:: linux_distribution(distname='', version='', id='', supported_dists=('SuSE','debian','redhat','mandrake',...), full_distribution_name=1)
 
@@ -266,7 +267,8 @@ Unix Platforms
    parameters.  ``id`` is the item in parentheses after the version number.  It
    is usually the version codename.
 
-   .. deprecated-removed:: 3.5 3.7
+   .. deprecated-removed:: 3.5 3.8
+      See alternative like the `distro <https://pypi.org/project/distro>`_ package.
 
 .. function:: libc_ver(executable=sys.executable, lib='', version='', chunksize=2048)