Skip to content

Commit 5349006

Browse files
authored
More docfixes (#1369)
Arg[z] and other scattered typos
1 parent 2ae7b1e commit 5349006

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mathics/builtin/arithmetic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class Arg(MPMathFunction):
106106
:WMA link:https://reference.wolfram.com/language/ref/Arg.html</url>)
107107
108108
<dl>
109-
<dt>'Arg'[$z$, $method_option$]
109+
<dt>'Arg'[$z$, 'Method ->' "$option$"]
110110
<dd>returns the argument of a complex value $z$.
111111
</dl>
112112

mathics/builtin/kernel_sessions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Out(Builtin):
1212
<url>:WMA: https://reference.wolfram.com/language/ref/\$Out</url>
1313
<dl>
1414
<dt>'%$k$' or 'Out'[$k$]
15-
<dd>gives the result of the $k$th input line.
15+
<dd>gives the result of the $k$-th input line.
1616
1717
<dt>'%'
1818
<dd>gives the last result.

mathics/builtin/string/operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class StringDrop(Builtin):
5656
<dd>gives $string$ with the last $n$ characters dropped.
5757
5858
<dt>'StringDrop'["$string$", {$n$}]
59-
<dd>gives $string$ with the $n$th character dropped.
59+
<dd>gives $string$ with the $n$-th character dropped.
6060
6161
<dt>'StringDrop'["$string$", {$m$, $n$}]
6262
<dd>gives $string$ with the characters $m$ through $n$ dropped.

0 commit comments

Comments
 (0)