diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-15 22:40:46 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-15 22:40:46 +0900 |
| commit | 415ebc15c59e8b2e7fd2eb1df76017a331f8b131 (patch) | |
| tree | 5934d437249ff312ed5d0fe157d800752fbf796f /sphinx/ext | |
| parent | 4d933716b8074eabfa78093bf271908c6d0bc6e6 (diff) | |
| parent | 77e0139a26a080e5b7c0292ebd08fbb2eb540be9 (diff) | |
| download | sphinx-git-415ebc15c59e8b2e7fd2eb1df76017a331f8b131.tar.gz | |
Merge pull request #5784 from tk0miya/refactor_hack_for_py2
Refactor hack for py2
Diffstat (limited to 'sphinx/ext')
| -rw-r--r-- | sphinx/ext/autodoc/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/ext/autodoc/__init__.py b/sphinx/ext/autodoc/__init__.py index 578c1d968..c6616e59b 100644 --- a/sphinx/ext/autodoc/__init__.py +++ b/sphinx/ext/autodoc/__init__.py @@ -458,8 +458,7 @@ class Documenter: self.env.app.emit('autodoc-process-docstring', self.objtype, self.fullname, self.object, self.options, docstringlines) - for line in docstringlines: - yield line + yield from docstringlines def get_sourcename(self): # type: () -> unicode |
