Skip to content

Commit e618e96

Browse files
encukouCarreau
andauthored
bpo-28167: bump platform.linux_distribution removal to 3.8 (GH-6864)
This is a backport of the documentation part of GH-6862 Co-authored-by: Matthias Bussonnier <[email protected]>
1 parent c50e5b1 commit e618e96

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Doc/library/platform.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ Unix Platforms
248248

249249
This is another name for :func:`linux_distribution`.
250250

251-
.. deprecated-removed:: 3.5 3.7
251+
.. deprecated-removed:: 3.5 3.8
252+
See alternative like the `distro <https://pypi.org/project/distro>`_ package.
252253

253254
.. function:: linux_distribution(distname='', version='', id='', supported_dists=('SuSE','debian','redhat','mandrake',...), full_distribution_name=1)
254255

@@ -266,7 +267,8 @@ Unix Platforms
266267
parameters. ``id`` is the item in parentheses after the version number. It
267268
is usually the version codename.
268269

269-
.. deprecated-removed:: 3.5 3.7
270+
.. deprecated-removed:: 3.5 3.8
271+
See alternative like the `distro <https://pypi.org/project/distro>`_ package.
270272

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

0 commit comments

Comments
 (0)