Skip to content

Commit f6f6e7d

Browse files
author
Release Manager
committed
gh-39787: Changed single colon to double colon after WARNING in relevant files this PR fixes #39786 corrected the formatting of WARNING directives in the documentation. The source code mistakenly used a single colon after WARNING instead of a double colon. <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes #12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes #12345". --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [ ] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - #12345: short description why this is a dependency --> <!-- - #34567: ... --> URL: #39787 Reported by: Krishna Dubey Reviewer(s): Frédéric Chapoton
2 parents 9d37b44 + 697335f commit f6f6e7d

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/sage/algebras/cluster_algebra.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,7 +1763,7 @@ def d_vector_to_g_vector(self, d) -> tuple:
17631763
17641764
This method implements the piecewise-linear map `\\nu_c` introduced in Section 9.1 of [ReSt2020]_.
17651765
1766-
.. WARNING:
1766+
.. WARNING::
17671767
17681768
This implementation works only when the initial exchange matrix is acyclic.
17691769
@@ -1789,7 +1789,7 @@ def g_vector_to_d_vector(self, g) -> tuple:
17891789
17901790
This method implements the inverse of the piecewise-linear map `\\nu_c` introduced in Section 9.1 of [ReSt2020]_.
17911791
1792-
.. WARNING:
1792+
.. WARNING::
17931793
17941794
This implementation works only when the initial exchange matrix is acyclic.
17951795

src/sage/combinat/sf/sfa.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6492,7 +6492,7 @@ def __init__(self, basis, name, *args):
64926492
- ``name`` -- the name of the basis
64936493
- ``args`` -- any further arguments necessary to initialize the basis
64946494
6495-
.. WARNING:
6495+
.. WARNING::
64966496
64976497
Strictly speaking, this is not necessarily a functor on
64986498
:class:`CommutativeRings`, but rather a functor on
@@ -6632,7 +6632,7 @@ def __init__(self, basis, family, name, *args):
66326632
66336633
- ``basis`` -- the basis of the symmetric function algebra
66346634
6635-
.. WARNING:
6635+
.. WARNING::
66366636
66376637
Strictly speaking, this is not necessarily a functor on
66386638
:class:`CommutativeRings`, but rather a functor on

src/sage/rings/function_field/drinfeld_modules/finite_drinfeld_module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def _frobenius_charpoly_gekeler(self):
571571
Instead, use :meth:`frobenius_charpoly` with the option
572572
`algorithm='gekeler'`.
573573
574-
.. WARNING:
574+
.. WARNING::
575575
576576
This algorithm only works in the generic case when the
577577
corresponding linear system is invertible. Notable cases

src/sage/rings/number_field/number_field_rel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
sage: a.parent()
3939
Number Field in sqrt2 with defining polynomial x^2 - 2 over its base field
4040
41-
.. WARNING:
41+
.. WARNING::
4242
4343
Doing arithmetic in towers of relative fields that depends on canonical
4444
coercions is currently VERY SLOW. It is much better to explicitly coerce

src/sage/schemes/hyperelliptic_curves/jacobian_endomorphism_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
sage: A.geometric_endomorphism_algebra_is_field()
6363
False
6464
65-
.. WARNING:
65+
.. WARNING::
6666
6767
There is a very small chance that the algorithms return ``False`` for the
6868
two methods described above when in fact one or both of them are ``True``.

0 commit comments

Comments
 (0)