Open MinhHaDuong opened 4 years ago
Fix: add a 'r' character to declare the string as a raw string, and escape the backslash. replace '\,' by r'\\,' And add this comment \, is a LaTeX shorthand for \kern, which is 1/6th em rigid width, non breakable space.
Line 331 in core.py and line 41 in exponents.py cause a DeprecationWarning: invalid escape sequence. This is expected to become a SyntaxError in Python 3.10.
References: https://docs.python.org/3.6/reference/lexical_analysis.html#string-and-bytes-literals https://bugs.python.org/issue32912