summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2018-05-15 17:31:47 (GMT)
committerGitHub <noreply@github.com>2018-05-15 17:31:47 (GMT)
commite618e96581a711f2bc4f9bbcff6069bea15f0177 (patch)
tree2ff299a93c53925a40a3c84d0fd6925f1f1a6743
parentc50e5b1f1f2501f697aa52d9c9a440bdeced7006 (diff)
downloadcpython-e618e96581a711f2bc4f9bbcff6069bea15f0177.zip
cpython-e618e96581a711f2bc4f9bbcff6069bea15f0177.tar.gz
cpython-e618e96581a711f2bc4f9bbcff6069bea15f0177.tar.bz2
bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6864)
This is a backport of the documentation part of GH-6862 Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
-rw-r--r--Doc/library/platform.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst
index eea0abb..f5cb52c 100644
--- a/Doc/library/platform.rst
+++ b/Doc/library/platform.rst
@@ -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)