]> 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)
committerScott Kostyshak <skostysh@lyx.org>
Sat, 8 Jun 2024 15:57:58 +0000 (11:57 -0400)
commit325f1429f83d7ce1d35404c3f99a31d19c0dbe45
tree4ada561711708389ecd38244ec5821f91292c76f
parentf1742ee26950f2f1cf520b787e59e6adaa06d34d
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.
po/lyx_pot.py