Skip to content

Commit cca3718

Browse files
committed
Fixes for reviewer comments
1 parent 0e0025a commit cca3718

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/sage/databases/findstat.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
r"""
33
FindStat - the search engine for combinatorial statistics and maps
44
5-
The Sage interface to the FindStat database is::
5+
The interface to the FindStat database is
66
77
sage: findstat()
88
The Combinatorial Statistic Finder (https://www.findstat.org/)
99
10-
We use the following three notions:
10+
We use the following three notions
1111
1212
- A *combinatorial collection* is a set `S` with interesting combinatorial properties,
1313
- a *combinatorial map* is a combinatorially interesting map `f: S \to S'` between combinatorial collections, and
1414
- a *combinatorial statistic* is a combinatorially interesting map `s: S \to \ZZ`.
1515
16-
You can use the Sage interface to:
16+
You can use the FindStat interface to
1717
1818
- identify a combinatorial statistic or map given the values on a few small objects,
1919
- obtain more terms, formulae, references, etc. for a given statistic or map,
2020
- edit statistics and maps and submit new statistics.
2121
22-
The main entry points to the database is
22+
The main entry points to the database are
2323
2424
- :func:`findstat` to search for matching statistics,
2525
- :func:`findmap` to search for matching maps.
@@ -902,7 +902,7 @@ def findstat(query=None, values=None, distribution=None, domain=None,
902902
must be ``None``.
903903
904904
- a list of pairs of the form ``(object, value)``, or a
905-
dictionary from sage objects to integer values. The keyword
905+
dictionary from Sage objects to integer values. The keyword
906906
arguments ``depth`` and ``max_values`` are passed to the
907907
finder, ``values`` and ``distribution`` must be ``None``.
908908
@@ -1155,7 +1155,7 @@ def findmap(*args, **kwargs):
11551155
forms:
11561156
11571157
- a list of pairs of the form ``(object, value)``, or a
1158-
dictionary from sage objects to sage objects.
1158+
dictionary from Sage objects to Sage objects.
11591159
11601160
- a list of pairs of the form ``(list of objects, list of
11611161
values)``, or a single pair of the form ``(list of objects,
@@ -1755,7 +1755,7 @@ def set_references_raw(self, value):
17551755

17561756
def sage_code(self):
17571757
r"""
1758-
Return the sage code associated with the statistic or map.
1758+
Return the Sage code associated with the statistic or map.
17591759
17601760
OUTPUT:
17611761
@@ -1834,7 +1834,7 @@ def first_terms(self):
18341834
18351835
OUTPUT:
18361836
1837-
A dictionary from sage objects representing an element of the
1837+
A dictionary from Sage objects representing an element of the
18381838
appropriate collection to integers.
18391839
18401840
This method is overridden in :class:`FindStatStatisticQuery`.
@@ -2253,7 +2253,7 @@ def set_first_terms(self, values):
22532253
INPUT:
22542254
22552255
- a list of pairs of the form ``(object, value)`` where
2256-
``object`` is a sage object representing an element of the
2256+
``object`` is a Sage object representing an element of the
22572257
appropriate collection and ``value`` is an integer.
22582258
22592259
This information is used when submitting the statistic with
@@ -2290,7 +2290,7 @@ def code(self):
22902290
22912291
OUTPUT:
22922292
2293-
A string. Contributors are encouraged to submit sage code in the form::
2293+
A string. Contributors are encouraged to submit Sage code in the form::
22942294
22952295
def statistic(x):
22962296
...
@@ -4053,9 +4053,9 @@ class FindStatCollection(Element,
40534053
40544054
- an integer designating the FindStat id of the collection, or
40554055
4056-
- a sage object belonging to a collection, or
4056+
- a Sage object belonging to a collection, or
40574057
4058-
- an iterable producing a sage object belonging to a collection.
4058+
- an iterable producing a Sage object belonging to a collection.
40594059
40604060
EXAMPLES::
40614061
@@ -4269,7 +4269,7 @@ def in_range(self, element):
42694269
42704270
INPUT:
42714271
4272-
- ``element`` -- a sage object that belongs to the collection.
4272+
- ``element`` -- a Sage object that belongs to the collection.
42734273
42744274
OUTPUT:
42754275
@@ -4444,7 +4444,7 @@ def from_string(self):
44444444
44454445
OUTPUT:
44464446
4447-
The function that produces the sage object given its FindStat
4447+
The function that produces the Sage object given its FindStat
44484448
representation as a string.
44494449
44504450
EXAMPLES::

0 commit comments

Comments
 (0)