diff options
author | Petr Viktorin <encukou@gmail.com> | 2018-05-16 15:51:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-16 15:51:18 (GMT) |
commit | 8b94b41ab7b12f745dea744e8940631318816935 (patch) | |
tree | 7712623c850aa5988a7024effe3ae3ce6777eaa8 /Doc | |
parent | 93f9a8a5afb58b1d2e4f27bb46d3d4e0fa8c08f0 (diff) | |
download | cpython-8b94b41ab7b12f745dea744e8940631318816935.zip cpython-8b94b41ab7b12f745dea744e8940631318816935.tar.gz cpython-8b94b41ab7b12f745dea744e8940631318816935.tar.bz2 |
bpo-28167: Remove platform.linux_distribution (GH-6871)
* test_ssl: Remove skip_if_broken_ubuntu_ssl
We no longer support OpenSSL 0.9.8.15.15.
* bpo-28167: Remove platform.linux_distribution
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/platform.rst | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Doc/library/platform.rst b/Doc/library/platform.rst index f5cb52c..5b2ff1b 100644 --- a/Doc/library/platform.rst +++ b/Doc/library/platform.rst @@ -243,33 +243,6 @@ Mac OS Platform Unix Platforms -------------- - -.. function:: dist(distname='', version='', id='', supported_dists=('SuSE','debian','redhat','mandrake',...)) - - This is another name for :func:`linux_distribution`. - - .. 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) - - Tries to determine the name of the Linux OS distribution name. - - ``supported_dists`` may be given to define the set of Linux distributions to - look for. It defaults to a list of currently supported Linux distributions - identified by their release file name. - - If ``full_distribution_name`` is true (default), the full distribution read - from the OS is returned. Otherwise the short name taken from - ``supported_dists`` is used. - - Returns a tuple ``(distname,version,id)`` which defaults to the args given as - parameters. ``id`` is the item in parentheses after the version number. It - is usually the version codename. - - .. 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) Tries to determine the libc version against which the file executable (defaults |