Skip to content

Fix invalid escape sequence '\m' (SyntaxWarning)#158

Open
NicolaiSoeborg wants to merge 1 commit into
torproject:masterfrom
NicolaiSoeborg:syntaxwarning-ed25519
Open

Fix invalid escape sequence '\m' (SyntaxWarning)#158
NicolaiSoeborg wants to merge 1 commit into
torproject:masterfrom
NicolaiSoeborg:syntaxwarning-ed25519

Conversation

@NicolaiSoeborg

Copy link
Copy Markdown

Getting this error while using the library:

/usr/lib/python3/dist-packages/stem/util/ed25519.py:69: SyntaxWarning: invalid escape sequence '\m'
  """$= z^{-1} \mod q$, for z != 0"""

Not sure what is preferred; just "mod" or escaping the comment so it is valid python but not "directly" valid LaTeX

Getting this error while using the library:

> /usr/lib/python3/dist-packages/stem/util/ed25519.py:69: SyntaxWarning: invalid escape sequence '\m'
>   """$= z^{-1} \mod q$, for z != 0"""

Not sure what is preferred; just "mod" or escaping the comment so it is valid python but not "directly" valid LaTeX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant