]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-33600: document that platform.linux_distribution() has been removed (GH-7281)
authorTimo Furrer <tuxtimo@gmail.com>
Tue, 5 Jun 2018 20:14:46 +0000 (22:14 +0200)
committerVictor Stinner <vstinner@redhat.com>
Tue, 5 Jun 2018 20:14:46 +0000 (22:14 +0200)
Doc/library/platform.rst

index 9f64095270a7b12babeb6cd9a7eb45725099efb5..3d0743bee211f90e4d63008f3edcd6e350444289 100644 (file)
@@ -270,6 +270,10 @@ Unix Platforms
    parameters.  ``id`` is the item in parentheses after the version number.  It
    is usually the version codename.
 
+   .. note::
+      This function is deprecated since Python 3.5 and removed in Python 3.8.
+      See alternative like the `distro <https://pypi.org/project/distro>`_ package.
+
    .. versionadded:: 2.6
 
 .. function:: libc_ver(executable=sys.executable, lib='', version='', chunksize=2048)