Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-21 11:53:22 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-21 11:53:22 +0300
commitc7e590818a16704620d029616e3d59d3d48446a5 (patch)
treecf502b832fdba41d3359a64232d2dd8884a763f5 /sphinx/environment
parenta3a775b1e8c09624c987eb34ea4d263063bb029b (diff)
parentbdfb112f0d7d75ca6a07a917b0395216c4917283 (diff)
Merge branch '3.x'
Diffstat (limited to 'sphinx/environment')
-rw-r--r--sphinx/environment/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/environment/__init__.py b/sphinx/environment/__init__.py
index c45e43c23..89e51ad83 100644
--- a/sphinx/environment/__init__.py
+++ b/sphinx/environment/__init__.py
@@ -331,7 +331,7 @@ class BuildEnvironment:
if suffix:
warnings.warn('The suffix argument for doc2path() is deprecated.',
RemovedInSphinx40Warning)
- if base not in (True, None):
+ if base not in (True, False, None):
warnings.warn('The string style base argument for doc2path() is deprecated.',
RemovedInSphinx40Warning)