On Saturday, December 12, 2015 at 10:30:29 PM UTC-8, prateek sharma wrote:
>
> How can I change doctest to check my changes made.?
>

Continue reading the developer guide.

 http://doc.sagemath.org/html/en/developer/coding_basics.html

in particular

 
http://doc.sagemath.org/html/en/developer/coding_basics.html#documentation-strings
 
http://doc.sagemath.org/html/en/developer/coding_basics.html#running-automated-tests

(the guide could be improved a bit: it could mention that the docstring 
occurs right in the source file, just below the "def ... :" line, as is 
usual in python. It could also mention something about the formatting of 
"EXAMPLES:" section, specifically when to use "::" and when not, but in 
your case you can just take your cues from the string that's already there)


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to