提交 96a7d0f5 authored 作者: bergstrj@lgcm's avatar bergstrj@lgcm

added indent to list items

上级 2814b280
...@@ -50,11 +50,12 @@ for module in [tensor]: ...@@ -50,11 +50,12 @@ for module in [tensor]:
docstring = getattr(symbol, '__doc__', "") docstring = getattr(symbol, '__doc__', "")
if not docstring: if not docstring:
print 'No documentation' print " ", 'No documentation'
elif len(docstring) < 50: elif len(docstring) < 50:
print chomp(docstring) print " ", chomp(docstring)
else: else:
print chomp(docstring[:40]), "..." print " ", chomp(docstring[:40]), "..."
# a little trailing whitespace # a little trailing whitespace
print "" print ""
print "" print ""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论