Skip to content
2 changes: 1 addition & 1 deletion mathics/builtin/drawing/plot_listplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ class DiscretePlot(_ListPlot):
<dd>plots $expr$ with $x$ ranging from $n_{min}$ to $n_{max}$ usings steps $dn$.

<dt>'DiscretePlot'[{$expr_1$, $expr_2$, ...}, ...]
<dd>plots the values of all $expri$.
<dd>plots the values of all $expr_{i}$.
</dl>

The number of primes for a number $k$:
Expand Down
2 changes: 1 addition & 1 deletion mathics/builtin/files_io/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ class Get(PrefixOperator):
<dd>Set the search path to the single directory $dir$ in the 'Get'.
<dt>'Path'->{"$dir_1$", "$dir_2$", ...}
<dd>Set the search path, '$PATH' to the list of directories.
<dt>'Character_Encoding'->"{$name}"
<dt>'CharacterEncoding'->"{$name}"
<dd>Set the file input encoding to $name$.
</dl>

Expand Down
6 changes: 3 additions & 3 deletions mathics/core/convert/expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def to_expression(
elements_conversion_fn: Callable = from_python,
) -> Expression:
"""
This is an expression constructor that can be used when the Head and elements are not Mathics
This is an expression constructor that can be used when the Head and elements are not Mathics3
objects. For example to_expression("Plus", 1, 2, 3)
"""
if isinstance(head, str):
Expand Down Expand Up @@ -70,7 +70,7 @@ def to_mathics_list(
) -> ListExpression:
"""
This is an expression constructor for list that can be used when
the elements are not Mathics objects.
the elements are not Mathics3 objects.

For example::

Expand All @@ -90,7 +90,7 @@ def to_mathics_list(

def to_numeric_args(mathics_args: BaseElement, evaluation) -> tuple:
"""
Convert Mathics arguments, such as the arguments in an evaluation
Convert Mathics3 arguments, such as the arguments in an evaluation
method a Python list that is suitable for feeding as arguments
into SymPy, NumPy, or mpmath.

Expand Down
5 changes: 3 additions & 2 deletions mathics/core/expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,9 @@ def evaluate(

def evaluate_elements(self, evaluation) -> "Expression":
"""
return a new expression with the head and the
evaluable elements evaluated, according to the attributes.
Return a new expression with the head and the
evaluable elements evaluated, taking into account the
the expression's head attribute and its HOLD properties.
"""
head = self._head
if isinstance(head, EvalMixin):
Expand Down
8 changes: 4 additions & 4 deletions mathics/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

In particular we provide:

* a class to create a Mathics session,
* load the Mathics core settings files (written in WL),
* read and set Mathics Settings.
* a class to create a Mathics3 session,
* load the Mathics core settings files (written in WL),
* read and set Mathics3 Settings.
"""

import os
Expand Down Expand Up @@ -84,7 +84,7 @@ def load_default_settings_files(


def get_settings_value(definitions: Definitions, setting_name: str):
"""Get a Mathics Settings` value with name "setting_name" from
"""Get a Mathics3 Settings` value with name "setting_name" from
definitions. If setting_name is not defined return None.
"""
try:
Expand Down
Loading