couple of fixes for docstring indentation (PY-2667)

This commit is contained in:
Dmitry Jemerov
2011-01-19 12:27:24 +01:00
parent 8a3e68f99a
commit 668f0a4c85
4 changed files with 81 additions and 43 deletions
+1
View File
@@ -0,0 +1 @@
<html><body><code>def <b>foo</b>()<br>Inferred&nbsp;return&nbsp;type:&nbsp;None<br>Doc&nbsp;of&nbsp;foo.<br>It&nbsp;has&nbsp;two&nbsp;lines.</code></body></html>
+7
View File
@@ -0,0 +1,7 @@
# directly in function
def foo():
"""<the_doc>Doc of foo.
It has two lines."""
pass
<the_ref>foo