diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2015-05-13 09:32:20 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-05-13 09:32:20 (GMT) |
commit | 2f3742b0d8dbe025f2f9e496938a6d344e6881ad (patch) | |
tree | 480fc929c731bf5081552dec4e3ff730144c82fa /Doc/library | |
parent | de7cafaa63db3849d11b1d17195ee23eacad7325 (diff) | |
download | cpython-2f3742b0d8dbe025f2f9e496938a6d344e6881ad.zip cpython-2f3742b0d8dbe025f2f9e496938a6d344e6881ad.tar.gz cpython-2f3742b0d8dbe025f2f9e496938a6d344e6881ad.tar.bz2 |
Issue #1322: platform.dist() and platform.linux_distribution() functions are now deprecated.
Initial patch by Vajrasky Kok.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/platform.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst index e27f2ad..679cc6b 100644 --- a/Doc/library/platform.rst +++ b/Doc/library/platform.rst @@ -247,6 +247,8 @@ Unix Platforms This is another name for :func:`linux_distribution`. + .. deprecated-removed:: 3.5 3.7 + .. function:: linux_distribution(distname='', version='', id='', supported_dists=('SuSE','debian','redhat','mandrake',...), full_distribution_name=1) Tries to determine the name of the Linux OS distribution name. @@ -263,6 +265,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 + .. function:: libc_ver(executable=sys.executable, lib='', version='', chunksize=2048) Tries to determine the libc version against which the file executable (defaults |