mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
commit
6d8dc3639d
@ -16,7 +16,7 @@ import re
|
|||||||
from collections.abc import Callable
|
from collections.abc import Callable
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
from six import string_types, u
|
from six import string_types
|
||||||
|
|
||||||
from sphinx.ext.napoleon.iterators import modify_iter
|
from sphinx.ext.napoleon.iterators import modify_iter
|
||||||
from sphinx.locale import _
|
from sphinx.locale import _
|
||||||
@ -189,7 +189,7 @@ class GoogleDocstring(UnicodeMixin):
|
|||||||
Unicode version of the docstring.
|
Unicode version of the docstring.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
return u('\n').join(self.lines())
|
return '\n'.join(self.lines())
|
||||||
|
|
||||||
def lines(self):
|
def lines(self):
|
||||||
# type: () -> List[unicode]
|
# type: () -> List[unicode]
|
||||||
|
Loading…
Reference in New Issue
Block a user