Skip to content

Commit 69ff3a3

Browse files
developerdeveloper
authored andcommitted
fix: replaced sys_tags() by platform_tags()
1 parent 64b34b4 commit 69ff3a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/html/cli/pip_download.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ and let pip download know where to find them using ``--find-links``.
5252
To determine the appropriate values for ``--python-version`` and ``--platform``, you can query the target system using the following commands:
5353

5454
- For the Python version, use :func:`sysconfig.get_python_version() <sysconfig.get_python_version>`.
55-
- For the platform, use :func:`packaging.tags.sys_tags() <packaging.tags.sys_tags>`.
55+
- For the platform, use :func:`packaging.tags.platform_tags() <packaging.tags.platform_tags>`.
5656

5757
Refer to the official Python documentation for more details:
5858
- `sysconfig.get_python_version() <https://docs.python.org/3/library/sysconfig.html#sysconfig.get_python_version>`_
59-
- `packaging.tags.sys_tags() <https://packaging.pypa.io/en/latest/tags.html>`_
59+
- `packaging.tags.platform_tags() <https://packaging.pypa.io/en/latest/tags.html#packaging.tags.platform_tags>`_
6060

6161
Options
6262
=======

0 commit comments

Comments
 (0)