Skip to content

Commit

Permalink
More summary adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Jul 11, 2023
1 parent f18ebbd commit 43da0ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mathics/builtin/exp_structure/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class Depth(Builtin):
= 2
"""

summary_text = "the maximum number of indices to specify any part"
summary_text = "get maximum number of indices to specify any part"

def eval(self, expr, evaluation: Evaluation):
"Depth[expr_]"
Expand Down Expand Up @@ -295,7 +295,7 @@ class Level(Builtin):
options = {
"Heads": "False",
}
summary_text = "parts specified by a given number of indices"
summary_text = "get parts specified by a given number of indices"

def eval(self, expr, ls, evaluation, options={}):
"Level[expr_, ls_, OptionsPattern[Level]]"
Expand Down Expand Up @@ -337,7 +337,7 @@ class Null(Predefined):
= #<--#
"""

summary_text = "implicit result for expressions that does not yield a result"
summary_text = "implicit result for expressions that do not yield a result"


class Operate(Builtin):
Expand Down Expand Up @@ -417,7 +417,7 @@ class Order(Builtin):
<dl>
<dt>'Order[$x$, $y$]'
<dd>returns a number indicating the canonical ordering of $x$ and $y$. \
1 indicates that $x$ is before $y$, \-1 that $y$ is before $x$. \
1 indicates that $x$ is before $y$, and -1 that $y$ is before $x$. \
0 indicates that there is no specific ordering. Uses the same order \
as 'Sort'.
</dl>
Expand All @@ -435,7 +435,7 @@ class Order(Builtin):
= 0
"""

summary_text = "canonical ordering of expressions"
summary_text = "order expressions"

def eval(self, x, y, evaluation: Evaluation):
"Order[x_, y_]"
Expand Down

0 comments on commit 43da0ee

Please sign in to comment.