Skip to content

Commit 7b9b87e

Browse files
timofurrervstinner
authored andcommitted
bpo-33600: document that platform.linux_distribution() has been removed (GH-7281)
1 parent 3014d6e commit 7b9b87e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Doc/library/platform.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@ Unix Platforms
270270
parameters. ``id`` is the item in parentheses after the version number. It
271271
is usually the version codename.
272272

273+
.. note::
274+
This function is deprecated since Python 3.5 and removed in Python 3.8.
275+
See alternative like the `distro <https://pypi.org/project/distro>`_ package.
276+
273277
.. versionadded:: 2.6
274278

275279
.. function:: libc_ver(executable=sys.executable, lib='', version='', chunksize=2048)

0 commit comments

Comments
 (0)