Skip to content

Commit 4ae1e00

Browse files
authored
Escape newline in docstring. (#345)
Otherwise `'.` is seen as the second parameter.
1 parent 31aa19a commit 4ae1e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpydoc/docscrape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def __init__(self, data):
3030
Parameters
3131
----------
3232
data : str
33-
String with lines separated by '\n'.
33+
String with lines separated by '\\n'.
3434
3535
"""
3636
if isinstance(data, list):

0 commit comments

Comments
 (0)