From 443e97c736d48b0dc1681bb45b944f8356f27ec9 Mon Sep 17 00:00:00 2001 From: niuke Date: Fri, 12 Aug 2022 19:29:13 +0800 Subject: [PATCH] remove unicode prefix from code All strings are considered as unicode string from Python 3. This patch drops the explicit unicode literal (u'...') appearances from the unicode strings. Change-Id: Ib48cebaaaf7802f82af8ab46a5cce66c42273a7a --- doc/source/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 7c726d2..b7a0a59 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -43,8 +43,8 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'os-api-ref' -copyright = u'2018, The contributors' +project = 'os-api-ref' +copyright = '2018, The contributors' # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True @@ -75,6 +75,6 @@ htmlhelp_basename = '%sdoc' % project latex_documents = [ ('index', '%s.tex' % project, - u'%s Documentation' % project, - u'OpenStack Foundation', 'manual'), + '%s Documentation' % project, + 'OpenStack Foundation', 'manual'), ]