Skip to content

Commit 91181a2

Browse files
committed
fix one optional internet doctest in oeis.py
1 parent dc99dc8 commit 91181a2

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)