Update "Using Python on a Mac" (#115024)

This commit is contained in:
Hugo van Kemenade 2024-02-13 08:31:49 +02:00 committed by GitHub
parent ea25f32d5f
commit 0a6e1a4119
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 61 additions and 44 deletions

View file

@ -64,6 +64,10 @@ copyright = f"2001-{time.strftime('%Y')}, Python Software Foundation"
import patchlevel
version, release = patchlevel.get_version_info()
rst_epilog = f"""
.. |python_version_literal| replace:: ``Python {version}``
"""
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
today = ''