Ticket #2240 (closed enhancement: fixed)
[with patches, positive review] Docstrings and Doctests: calculus.py
| Reported by: | cswiercz | Owned by: | cswiercz |
|---|---|---|---|
| Priority: | major | Milestone: | sage-2.10.3 |
| Component: | documentation | Keywords: | docstring, doctest |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
Goal: Enter all missing docstrings and doctests for functions (not beginning with an underscore "_") in the file
calculus/calculus.py.
Attachments
Change History
comment:2 Changed 5 years ago by cswiercz
- Keywords docstring, doctest added
- Milestone set to sage-2.10.2
comment:3 Changed 5 years ago by cswiercz
Attached are patches including docstrings and doctests for some (but not all) functions without docstrings in calculus.py. There are still some low-level functions in calculus.py that require docstrings. However, the author of these patches isn't familiar enough with the functions to do them justice.
comment:5 Changed 5 years ago by mabshoff
- Priority changed from minor to major
- Summary changed from Docstrings and Doctests: calculus.py to [with patches, need review] Docstrings and Doctests: calculus.py
comment:6 Changed 5 years ago by mhansen
- Summary changed from [with patches, need review] Docstrings and Doctests: calculus.py to [with patches, positive review] Docstrings and Doctests: calculus.py
Looks good to me. I've added the last patch which replaces the first and fixes the wont-typo.
comment:7 Changed 5 years ago by mabshoff
- Summary changed from [with patches, positive review] Docstrings and Doctests: calculus.py to [with patches, positive review, needs rebase] Docstrings and Doctests: calculus.py
No dice, i.e. rejects for all patches:
mabshoff@sage:/scratch/mabshoff/release-cycle/sage-2.10.3.alpha0/devel/sage$ patch -p1 --dry-run < trac_2240_8311-2.patch patching file sage/calculus/calculus.py Hunk #1 FAILED at 4409. 1 out of 1 hunk FAILED -- saving rejects to file sage/calculus/calculus.py.rej patching file sage/misc/hg.py Hunk #1 succeeded at 169 (offset 32 lines). mabshoff@sage:/scratch/mabshoff/release-cycle/sage-2.10.3.alpha0/devel/sage$ patch -p1 --dry-run < trac_2240_8312.patch patching file sage/calculus/calculus.py Hunk #1 FAILED at 437. 1 out of 1 hunk FAILED -- saving rejects to file sage/calculus/calculus.py.rej mabshoff@sage:/scratch/mabshoff/release-cycle/sage-2.10.3.alpha0/devel/sage$ patch -p1 --dry-run < trac_2240_8313.patch patching file sage/calculus/calculus.py Hunk #1 FAILED at 449. Hunk #2 FAILED at 2545. Hunk #3 FAILED at 2625. Hunk #4 FAILED at 5817. Hunk #5 FAILED at 6459. Hunk #6 FAILED at 6541. Hunk #7 FAILED at 6813. 7 out of 7 hunks FAILED -- saving rejects to file sage/calculus/calculus.py.rej
Cheers,
Michael
Note: See
TracTickets for help on using
tickets.

