summaryrefslogtreecommitdiff
path: root/sphinx/application.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-04-30 16:02:12 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2021-04-08 01:56:50 +0900
commitd3f0de4e122aa8213f7d127f75d94311d2bed682 (patch)
tree1feb6e1acfa2a3dd817fc0f7f841ec2c6f24854a /sphinx/application.py
parent245b3c32df1965b6bd5952cf25e19beef965a01b (diff)
downloadsphinx-git-d3f0de4e122aa8213f7d127f75d94311d2bed682.tar.gz
refactor: Add Optional to type annotations
Diffstat (limited to 'sphinx/application.py')
-rw-r--r--sphinx/application.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/application.py b/sphinx/application.py
index 9878a3e71..741776fbb 100644
--- a/sphinx/application.py
+++ b/sphinx/application.py
@@ -526,8 +526,7 @@ class Sphinx:
``'env'``) to a string. However, booleans are still accepted and
converted internally.
"""
- logger.debug('[app] adding config value: %r',
- (name, default, rebuild) + ((types,) if types else ()))
+ logger.debug('[app] adding config value: %r', (name, default, rebuild, types))
if rebuild in (False, True):
rebuild = 'env' if rebuild else ''
self.config.add(name, default, rebuild, types)