diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-18 23:32:52 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-18 23:32:52 +0900 |
commit | 3905cb8b7cb92815a6ee41a7d25ad2eaa5b8a443 (patch) | |
tree | 1364180c37c091572b2479457f0f41593fd37006 /sphinx/ext/apidoc.py | |
parent | f04e161173742597c1ba6cf89a06316073eb18b9 (diff) | |
parent | 518c2f2e0ec27e413ef6eb57d372428cccdce173 (diff) | |
download | sphinx-git-3905cb8b7cb92815a6ee41a7d25ad2eaa5b8a443.tar.gz |
Merge branch '1.8'
Diffstat (limited to 'sphinx/ext/apidoc.py')
-rw-r--r-- | sphinx/ext/apidoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/apidoc.py b/sphinx/ext/apidoc.py index 19a14bbf5..d0c87be13 100644 --- a/sphinx/ext/apidoc.py +++ b/sphinx/ext/apidoc.py @@ -382,7 +382,7 @@ Note: By default this script will not overwrite already created files.""")) def main(argv=sys.argv[1:]): # type: (List[str]) -> int """Parse and check the command line arguments.""" - locale.setlocale(locale.LC_ALL, '') + sphinx.locale.setlocale(locale.LC_ALL, '') sphinx.locale.init_console(os.path.join(package_dir, 'locale'), 'sphinx') parser = get_parser() |