Skip to content

Commit d2801c1

Browse files
committed
Small stuff
1 parent 30674c7 commit d2801c1

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

admin-tools/make-dist.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ source mathics_django/version.py
2020
echo $__version__
2121

2222
cp -v ${HOME}/.local/var/Mathics3/doc_html_data.pcl mathics_django/doc/
23-
pyversion=3.13
23+
pyversion=3.14
2424
if ! pyenv local $pyversion ; then
2525
exit $?
2626
fi
2727
rm -fr build
2828
python -m build --wheel
29-
python ./setup.py sdist
29+
python -m build --sdist
3030
finish

mathics_django/web/format.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Format Mathics3 objects
33
"""
44

5+
from typing import Dict, Final
6+
57
from mathics.core.atoms import String
68
from mathics.core.systemsymbols import (
79
SymbolAborted,
@@ -17,7 +19,7 @@
1719
# text is the usual text-kind of output.
1820
# LaTeX is handled by MathJaX display mode $$ $$
1921
# MathML could be tagged differently too.
20-
FORM_TO_HTML_TAG_FORMAT = {
22+
FORM_TO_HTML_TAG_FORMAT: Final[Dict[str, str]] = {
2123
"System`FullForm": "text",
2224
"System`InputForm": "text",
2325
# "System`MathMLForm": "MathML",

0 commit comments

Comments
 (0)