From 7b9b87e76c44660de8a973c0e0a118f539532496 Mon Sep 17 00:00:00 2001 From: Timo Furrer Date: Tue, 5 Jun 2018 22:14:46 +0200 Subject: [PATCH] bpo-33600: document that platform.linux_distribution() has been removed (GH-7281) --- Doc/library/platform.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst index 9f64095270a7..3d0743bee211 100644 --- a/Doc/library/platform.rst +++ b/Doc/library/platform.rst @@ -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 `_ package. + .. versionadded:: 2.6 .. function:: libc_ver(executable=sys.executable, lib='', version='', chunksize=2048) -- 2.47.3