Skip to content

Commit 7f9dbb1

Browse files
committed
Some last doc fixes and tweaks.
1 parent 9fb155f commit 7f9dbb1

File tree

3 files changed

+25
-19
lines changed

3 files changed

+25
-19
lines changed

src/sage/data_structures/stream.py

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This module provides lazy implementations of basic operators on
55
streams. The classes implemented in this module can be used to build
66
up more complex streams for different kinds of series (Laurent,
7-
Dirichlet, etc).
7+
Dirichlet, etc.).
88
99
EXAMPLES:
1010
@@ -85,6 +85,8 @@
8585

8686
# ****************************************************************************
8787
# Copyright (C) 2019 Kwankyu Lee <[email protected]>
88+
# 2022 Martin Rubey <martin.rubey at tuwien.ac.at>
89+
# 2022 Travis Scrimshaw <tcscrims at gmail.com>
8890
#
8991
# This program is free software: you can redistribute it and/or modify
9092
# it under the terms of the GNU General Public License as published by
@@ -1025,7 +1027,7 @@ def __eq__(self, other):
10251027
10261028
INPUT:
10271029
1028-
- ``other`` -- a stream of coefficients
1030+
- ``other`` -- a :class:`Stream` of coefficients
10291031
10301032
EXAMPLES::
10311033
@@ -1088,7 +1090,7 @@ def __eq__(self, other):
10881090
10891091
INPUT:
10901092
1091-
- ``other`` -- a stream of coefficients
1093+
- ``other`` -- a :class:`Stream` of coefficients
10921094
10931095
EXAMPLES::
10941096
@@ -1213,8 +1215,8 @@ class Stream_add(Stream_binaryCommutative):
12131215
12141216
INPUT:
12151217
1216-
- ``left`` -- stream of coefficients on the left side of the operator
1217-
- ``right`` -- stream of coefficients on the right side of the operator
1218+
- ``left`` -- :class:`Stream` of coefficients on the left side of the operator
1219+
- ``right`` -- :class:`Stream` of coefficients on the right side of the operator
12181220
12191221
EXAMPLES::
12201222
@@ -1273,8 +1275,8 @@ class Stream_sub(Stream_binary):
12731275
12741276
INPUT:
12751277
1276-
- ``left`` -- stream of coefficients on the left side of the operator
1277-
- ``right`` -- stream of coefficients on the right side of the operator
1278+
- ``left`` -- :class:`Stream` of coefficients on the left side of the operator
1279+
- ``right`` -- :class:`Stream` of coefficients on the right side of the operator
12781280
12791281
EXAMPLES::
12801282
@@ -1338,8 +1340,8 @@ class Stream_cauchy_mul(Stream_binary):
13381340
13391341
INPUT:
13401342
1341-
- ``left`` -- stream of coefficients on the left side of the operator
1342-
- ``right`` -- stream of coefficients on the right side of the operator
1343+
- ``left`` -- :class:`Stream` of coefficients on the left side of the operator
1344+
- ``right`` -- :class:`Stream` of coefficients on the right side of the operator
13431345
13441346
EXAMPLES::
13451347
@@ -1424,8 +1426,8 @@ class Stream_dirichlet_convolve(Stream_binary):
14241426
14251427
INPUT:
14261428
1427-
- ``left`` -- stream of coefficients on the left side of the operator
1428-
- ``right`` -- stream of coefficients on the right side of the operator
1429+
- ``left`` -- :class:`Stream` of coefficients on the left side of the operator
1430+
- ``right`` -- :class:`Stream` of coefficients on the right side of the operator
14291431
14301432
The coefficient of `n^{-s}` in the convolution of `l` and `r`
14311433
equals `\sum_{k | n} l_k r_{n/k}`.

src/sage/rings/lazy_series.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@
104104

105105
# ****************************************************************************
106106
# Copyright (C) 2019 Kwankyu Lee <[email protected]>
107+
# 2022 Martin Rubey <martin.rubey at tuwien.ac.at>
108+
# 2022 Travis Scrimshaw <tcscrims at gmail.com>
107109
#
108110
# This program is free software: you can redistribute it and/or modify
109111
# it under the terms of the GNU General Public License as published by
@@ -1474,7 +1476,7 @@ def tan(self):
14741476
r"""
14751477
Return the tangent of ``self``.
14761478
1477-
EXAMPLES:
1479+
EXAMPLES::
14781480
14791481
sage: L.<z> = LazyLaurentSeriesRing(QQ)
14801482
sage: tan(z)
@@ -3281,7 +3283,7 @@ def __call__(self, *g, check=True):
32813283
32823284
INPUT:
32833285
3284-
- ``g`` -- other series, all of the same parent.
3286+
- ``g`` -- other series, all can be coerced into the same parent
32853287
32863288
EXAMPLES::
32873289
@@ -3638,7 +3640,7 @@ def __call__(self, *args, check=True):
36383640
36393641
INPUT:
36403642
3641-
- ``args`` -- other (lazy) symmetric functions.
3643+
- ``args`` -- other (lazy) symmetric functions
36423644
36433645
EXAMPLES::
36443646

src/sage/rings/lazy_series_ring.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
# ****************************************************************************
2424
# Copyright (C) 2019 Kwankyu Lee <[email protected]>
25+
# 2022 Martin Rubey <martin.rubey at tuwien.ac.at>
26+
# 2022 Travis Scrimshaw <tcscrims at gmail.com>
2527
#
2628
# This program is free software: you can redistribute it and/or modify
2729
# it under the terms of the GNU General Public License as published by
@@ -442,7 +444,7 @@ def _element_constructor_(self, x=None, valuation=None, degree=None, constant=No
442444
raise ValueError(f"unable to convert {x} into {self}")
443445

444446
def undefined(self, valuation=None):
445-
"""
447+
r"""
446448
Return an uninitialized series.
447449
448450
INPUT:
@@ -451,7 +453,7 @@ def undefined(self, valuation=None):
451453
452454
Power series can be defined recursively (see
453455
:meth:`sage.rings.lazy_series.LazyModuleElement.define()` for
454-
more examples)::
456+
more examples).
455457
456458
EXAMPLES::
457459
@@ -467,13 +469,13 @@ def undefined(self, valuation=None):
467469

468470
class options(GlobalOptions):
469471
r"""
470-
Set and display the options for Lazy Laurent series.
472+
Set and display the options for lazy series.
471473
472474
If no parameters are set, then the function returns a copy of
473475
the options dictionary.
474476
475-
The ``options`` to Lazy Laurent series can be accessed as using
476-
:class:`LazyLaurentSeriesRing.options` of :class:`LazyLaurentSeriesRing`.
477+
The ``options`` to lazy series can be accessed as using
478+
:class:`LazySeriesRing.options`.
477479
478480
@OPTIONS@
479481

0 commit comments

Comments
 (0)