mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
Fix DeprecationWarning about 'invalid escape sequence' in tools/docs Python scripts (#2281)
This commit is contained in:
@@ -238,7 +238,7 @@ latex_elements = {
|
||||
#'pointsize': '10pt',
|
||||
|
||||
# Additional stuff for the LaTeX preamble.
|
||||
'preamble': '\DeclareUnicodeCharacter{00A0}{}',
|
||||
'preamble': r'\DeclareUnicodeCharacter{00A0}{}',
|
||||
|
||||
# Latex figure (float) alignment
|
||||
#'figure_align': 'htbp',
|
||||
|
||||
Reference in New Issue
Block a user