mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Refactor LabelledString
This commit is contained in:
parent
dbefc3b256
commit
a1e77b0ce2
1 changed files with 2 additions and 1 deletions
|
@ -142,7 +142,8 @@ class MTex(LabelledString):
|
|||
"^": "superscript"
|
||||
}[self.get_string(char_span)]
|
||||
raise ValueError(
|
||||
f"Unclear {script_name} detected while parsing. "
|
||||
f"Unclear {script_name} detected while parsing "
|
||||
f"(position {char_span[0]}). "
|
||||
"Please use braces to clarify"
|
||||
)
|
||||
span_end = spans[0][1]
|
||||
|
|
Loading…
Add table
Reference in a new issue