]> git.lyx.org Git - lyx.git/commit
Fix Python warning of invalid escape in lyx_pot.py
authorScott Kostyshak <skostysh@lyx.org>
Sat, 8 Jun 2024 15:54:44 +0000 (11:54 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sat, 8 Jun 2024 17:49:41 +0000 (13:49 -0400)
commit9c16e25a84c3c1d813c0e4c2e5fa83e4965836ac
treee673d717fcd7e1d360bb26bda57567c949c1759f
parentd4bd0f9b1e0a47173585b52534d8a5bbd76d1cee
Fix Python warning of invalid escape in lyx_pot.py

Newer Python versions (e.g., Python 3.12.3) gave the following
warning:

  po/lyx_pot.py:607: SyntaxWarning: invalid escape sequence '\w'

An alternative fix would be to double the backslash, but that might
be less readable than this fix.

(cherry picked from commit 325f1429f83d7ce1d35404c3f99a31d19c0dbe45)
po/lyx_pot.py