diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-21 11:53:22 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-21 11:53:22 +0300 |
commit | c7e590818a16704620d029616e3d59d3d48446a5 (patch) | |
tree | cf502b832fdba41d3359a64232d2dd8884a763f5 /sphinx/environment | |
parent | a3a775b1e8c09624c987eb34ea4d263063bb029b (diff) | |
parent | bdfb112f0d7d75ca6a07a917b0395216c4917283 (diff) |
Merge branch '3.x'
Diffstat (limited to 'sphinx/environment')
-rw-r--r-- | sphinx/environment/__init__.py | 2 |
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) |