Le 18/11/2011 10:48, Nathann Cohen a écrit :
Hello everybody !!!
Would anyone know if it is possible in a module's docstring to
"interrupt" the documentation ?
I'm not sure I understand the question, but what about
def function():
r"""the function's documentation"""
#And here is the second one"
def function2():
r"""the function's documentation"""
With a # that indicates a comment instead of a docstring ?
Or the idea behind the question is "how to create a docstring that is
seen by doctests but not by sphinx" ?
Laurent
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org