Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit d019743

Browse files
committed
use some more raw strings for pdf build on Gentoo
1 parent ca088c9 commit d019743

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/sage/categories/pushout.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ def _repr_(self):
11461146

11471147

11481148
class InfinitePolynomialFunctor(ConstructionFunctor):
1149-
"""
1149+
r"""
11501150
A Construction Functor for Infinite Polynomial Rings (see :mod:`~sage.rings.polynomial.infinite_polynomial_ring`).
11511151
11521152
AUTHOR:
@@ -1187,7 +1187,7 @@ class InfinitePolynomialFunctor(ConstructionFunctor):
11871187
...
11881188
CoercionException: Incompatible term orders lex, degrevlex
11891189
1190-
In an infinite polynomial ring with generator `a_\\ast`, the variable `a_3` will always be greater
1190+
In an infinite polynomial ring with generator `a_\ast`, the variable `a_3` will always be greater
11911191
than the variable `a_1`. Hence, the orders are incompatible in the next example as well::
11921192
11931193
sage: A.construction()[0]*PolynomialRing(QQ,names=['x','y','a_1','a_3'], order='lex').construction()[0]
@@ -1197,7 +1197,7 @@ class InfinitePolynomialFunctor(ConstructionFunctor):
11971197
11981198
Another requirement is that after merging the order of the remaining variables must be unique.
11991199
This is not the case in the following example, since it is not clear whether the variables `x,y`
1200-
should be greater or smaller than the variables `b_\\ast`::
1200+
should be greater or smaller than the variables `b_\ast`::
12011201
12021202
sage: A.construction()[0]*PolynomialRing(QQ,names=['a_3','a_1','x','y'], order='lex').construction()[0]
12031203
Traceback (most recent call last):
@@ -1215,7 +1215,7 @@ class InfinitePolynomialFunctor(ConstructionFunctor):
12151215
sage: X.<w,x,y> = InfinitePolynomialRing(ZZ)
12161216
sage: Y.<x,y,z> = InfinitePolynomialRing(QQ)
12171217
1218-
`X` and `Y` have an overlapping generators `x_\\ast, y_\\ast`. Since the default lexicographic order is
1218+
`X` and `Y` have an overlapping generators `x_\ast, y_\ast`. Since the default lexicographic order is
12191219
used in both rings, it gives rise to isomorphic sub-monoids in both `X` and `Y`. They are merged in the
12201220
pushout, which also yields a common parent for doing arithmetic::
12211221

src/sage/rings/polynomial/infinite_polynomial_element.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ def reduce(self, I, tailreduce=False, report=None):
12851285

12861286
## Further methods
12871287
def stretch(self, k):
1288-
"""
1288+
r"""
12891289
Stretch ``self`` by a given factor.
12901290
12911291
INPUT:
@@ -1294,7 +1294,7 @@ def stretch(self, k):
12941294
12951295
OUTPUT:
12961296
1297-
Replace `v_n` with `v_{n\\cdot k}` for all generators `v_\\ast` occurring in self.
1297+
Replace `v_n` with `v_{n\\cdot k}` for all generators `v_\ast` occurring in self.
12981298
12991299
EXAMPLES::
13001300

src/sage/rings/polynomial/infinite_polynomial_ring.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
r"""
22
Infinite Polynomial Rings
33
44
By Infinite Polynomial Rings, we mean polynomial rings in a countably
@@ -10,8 +10,8 @@
1010
- Simon King <[email protected]>
1111
- Mike Hansen <[email protected]>
1212
13-
An Infinite Polynomial Ring has finitely many generators `x_\\ast,
14-
y_\\ast,...` and infinitely many variables of the form `x_0, x_1, x_2,
13+
An Infinite Polynomial Ring has finitely many generators `x_\ast,
14+
y_\ast,...` and infinitely many variables of the form `x_0, x_1, x_2,
1515
..., y_0, y_1, y_2,...,...`. We refer to the natural number `n` as
1616
the *index* of the variable `x_n`.
1717
@@ -619,10 +619,10 @@ def __getitem__(self, k):
619619
## The sparse implementation
620620

621621
class InfinitePolynomialRing_sparse(CommutativeRing):
622-
"""
622+
r"""
623623
Sparse implementation of Infinite Polynomial Rings.
624624
625-
An Infinite Polynomial Ring with generators `x_\\ast, y_\\ast,
625+
An Infinite Polynomial Ring with generators `x_\ast, y_\ast,
626626
...` over a field `F` is a free commutative `F`-algebra generated
627627
by `x_0, x_1, x_2, ..., y_0, y_1, y_2, ..., ...` and is equipped
628628
with a permutation action on the generators, namely `x_n^P =

0 commit comments

Comments
 (0)