Skip to content

Commit 17983c9

Browse files
author
Release Manager
committed
sagemathgh-39422: fix one optional internet doctest in oeis.py currently broken for some reason ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. URL: sagemath#39422 Reported by: Frédéric Chapoton Reviewer(s): David Coudert, Frédéric Chapoton
2 parents 07086b0 + 91181a2 commit 17983c9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/sage/databases/oeis.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1809,11 +1809,9 @@ def programs(self, language='all', preparsing=True, keep_comments=False):
18091809
18101810
EXAMPLES::
18111811
1812-
sage: ee = oeis('A001113') ; ee # optional -- internet
1813-
A001113: Decimal expansion of e.
1814-
1812+
sage: ee = oeis.find_by_id('A00260') # optional -- internet
18151813
sage: ee.programs('pari')[0] # optional -- internet
1816-
0: default(realprecision, 50080); x=exp(1); for (n=1, 50000, d=floor(x); x=(x-d)*10; write("b001113.txt", n, " ", d)); \\ _Harry J. Smith_, Apr 15 2009
1814+
0: {a(n) = binomial(...)};...
18171815
18181816
sage: G = oeis.find_by_id('A27642') # optional -- internet
18191817
sage: G.programs('all') # optional -- internet

0 commit comments

Comments
 (0)