From: Timo Furrer Date: Tue, 5 Jun 2018 20:14:46 +0000 (+0200) Subject: bpo-33600: document that platform.linux_distribution() has been removed (GH-7281) X-Git-Tag: v2.7.16rc1~265 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b9b87e76c44660de8a973c0e0a118f539532496;p=thirdparty%2FPython%2Fcpython.git bpo-33600: document that platform.linux_distribution() has been removed (GH-7281) --- 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)