Blob Blame History Raw
From e340c8574694ab16fbe290c6fb714c1f6c2f5664 Mon Sep 17 00:00:00 2001
From: John Marshall <jmarshall@hey.com>
Date: Wed, 2 Jun 2021 22:40:00 +0100
Subject: [PATCH] Avoid Python 2 ur'string' syntax

Continue to use u'unicode' strings as elsewhere in conf.py, but these
literals use no backslash escapes anyway so there's no need for r'raw'.
Fixes #1019.
---
 doc/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/conf.py b/doc/conf.py
index 375aa559..53efe293 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -201,8 +201,8 @@
 # Grouping the document tree into LaTeX files. List of tuples
 # (source start file, target name, title, author, documentclass [howto/manual]).
 latex_documents = [
-    ('index', 'pysam.tex', ur'pysam documentation',
-     ur'Andreas Heger, Kevin Jacobs et al.', 'manual'),
+    ('index', 'pysam.tex', u'pysam documentation',
+     u'Andreas Heger, Kevin Jacobs, et al.', 'manual'),
 ]
 
 # The name of an image file (relative to this directory) to place at the top of