Skip to content

Commit 3d7bbd5

Browse files
author
Release Manager
committed
sagemathgh-39489: fix several oeis related doctests by using ... to make the doctests more robusts ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#39489 Reported by: Frédéric Chapoton Reviewer(s):
2 parents 911871a + f7438fc commit 3d7bbd5

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

src/doc/en/developer/coding_basics.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,9 +1308,7 @@ framework. Here is a comprehensive list:
13081308
For lines that require an internet connection::
13091309

13101310
sage: oeis(60843) # optional - internet
1311-
A060843: Busy Beaver problem: a(n) = maximal number of steps that an
1312-
n-state Turing machine can make on an initially blank tape before
1313-
eventually halting.
1311+
A060843: ...
13141312

13151313
- **known bugs:** For lines that describe known bugs, you can use ``# optional - bug``,
13161314
although ``# known bug`` is preferred.

src/sage/combinat/quickref.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
Integer Sequences::
55
66
sage: s = oeis([1,3,19,211]); s # optional - internet
7-
0: A000275: Coefficients of a Bessel function (reciprocal of J_0(z));
8-
also pairs of permutations with rise/rise forbidden.
7+
0: A000275: ...
98
sage: s[0].programs() # optional - internet
109
[('maple', ...),
1110
('mathematica', ...),

src/sage/combinat/species/library.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def SimpleGraphSpecies():
5656
5757
sage: seq = S.isotype_generating_series().counts(6)[1:] # needs sage.modules
5858
sage: oeis(seq)[0] # optional - internet # needs sage.modules
59-
A000088: Number of graphs on n unlabeled nodes.
59+
A000088: ...
6060
6161
::
6262

src/sage/rings/lazy_series.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,8 +1481,8 @@ def define(self, s):
14811481
sage: f
14821482
1 + t + t^2 + 2*t^3 + 6*t^4 + 23*t^5 + 104*t^6 + O(t^7)
14831483
sage: oeis(f[1:20]) # optional - internet
1484-
0: A030266: Shifts left under COMPOSE transform with itself.
1485-
1: A110447: Permutations containing 3241 patterns only as part of 35241 patterns.
1484+
0: A030266: ...
1485+
1: A110447: ...
14861486
14871487
The following can only work for power series, where we have a
14881488
minimal valuation of `0`::

0 commit comments

Comments
 (0)