File: 0001-Fix-Python-syntax-raw-strings.patch

package info (click to toggle)
python-scikit-cuda 0.5.3-2
  • links: PTS, VCS
  • area: contrib
  • in suites:
  • size: 1,516 kB
  • sloc: python: 18,940; ansic: 459; makefile: 95; sh: 9
file content (21 lines) | stat: -rw-r--r-- 553 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Roland Mas <roland.mas@entierement.net>
Date: Tue, 26 Nov 2024 10:53:45 +0100
Subject: Fix Python syntax (raw strings)

---
 docs/source/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 848d93f..2bef970 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -243,7 +243,7 @@ latex_elements = {
 #'pointsize': '10pt',
 
 # Additional stuff for the LaTeX preamble.
-'preamble': """
+'preamble': r"""
 \usepackage{amsmath}
 \usepackage{amsfonts}
 \usepackage{amssymb}