[Biopython-dev] [Bug 2640] Proposal: doctest for SeqRecord/biopython
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Wed Nov 12 11:14:27 UTC 2008
http://bugzilla.open-bio.org/show_bug.cgi?id=2640
------- Comment #15 from dalloliogm at gmail.com 2008-11-12 06:14 EST -------
(In reply to comment #13)
> (From update of attachment 1033 [details])
> Something similar was checked into CVS.
>
(In reply to comment #13)
> (From update of attachment 1033 [details])
> Something similar was checked into CVS.
>
I saw the changes now!
ok.. But I would prefer to put the doctest in the main __doc__ of the function
instead of __init__ and __repr__.
This is because otherwise they wouldn't be accessible by the users with the
help function.
Usually you do help(SeqRecord), not help(SeqRecord.__init__).
--
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Biopython-dev
mailing list