mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Update "Using Python on a Mac" (#115024)
This commit is contained in:
parent
ea25f32d5f
commit
0a6e1a4119
2 changed files with 61 additions and 44 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue