mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.14] Use replacements to update versions in "Using Python on macOS" (GH-130400) (#135586)
(cherry picked from commit 21bac3aecd)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
964c29d281
commit
a2c4791d99
2 changed files with 51 additions and 46 deletions
|
|
@ -79,6 +79,10 @@
|
|||
rst_epilog = f"""
|
||||
.. |python_version_literal| replace:: ``Python {version}``
|
||||
.. |python_x_dot_y_literal| replace:: ``python{version}``
|
||||
.. |python_x_dot_y_t_literal| replace:: ``python{version}t``
|
||||
.. |python_x_dot_y_t_literal_config| replace:: ``python{version}t-config``
|
||||
.. |x_dot_y_b2_literal| replace:: ``{version}.0b2``
|
||||
.. |applications_python_version_literal| replace:: ``/Applications/Python {version}/``
|
||||
.. |usr_local_bin_python_x_dot_y_literal| replace:: ``/usr/local/bin/python{version}``
|
||||
|
||||
.. Apparently this how you hack together a formatted link:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue