Skip to content

Commit

Permalink
Fix code comments for method example in online doc
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Feb 11, 2016
1 parent 23147de commit 209b42c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/autogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def process_class_docstring(docstring):


def process_method_docstring(docstring):
docstring = re.sub(r' # (.*)\n',
r' __\1__\n\n',
docstring = re.sub(r'\n # (.*)\n',
r'\n __\1__\n\n',
docstring)

docstring = re.sub(r' ([^\s\\]+):(.*)\n',
Expand Down

0 comments on commit 209b42c

Please sign in to comment.