We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e17bc4d commit 380331cCopy full SHA for 380331c
source/conf.py
@@ -2,7 +2,7 @@
2
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
3
4
import os
5
-import time
+from time import strftime
6
7
# Some options are only enabled for the main packaging.python.org deployment builds
8
RTD_BUILD = bool(os.getenv("READTHEDOCS"))
@@ -14,7 +14,7 @@
14
15
project = "Python Packaging User Guide"
16
author = "Python Packaging Authority"
17
-cur_year = time.strfime("%Y")
+cur_year = strftime("%Y")
18
copyright = f"{cur_year}, {author}"
19
20
# -- General configuration -------------------------------------------------------------
0 commit comments