remove unicode from code

In Python 3, all strings are represented in Unicode.In Python 2 are
stored internally as 8-bit ASCII, hence it is required to attach 'u'
to make it Unicode. It is no longer necessary now.'

Change-Id: I4d475c4ed3c79539c2bc383462f1ffca1e420520
This commit is contained in:
wu.shiming 2021-03-04 11:04:33 +08:00
parent db6069331d
commit 621cd8c129
2 changed files with 5 additions and 5 deletions

View File

@ -46,7 +46,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
copyright = u'2018, MetalSmith Developers '
copyright = '2018, MetalSmith Developers '
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True
@ -83,8 +83,8 @@ latex_use_xindy = False
latex_documents = [
('index',
'doc-metalsmith.tex',
u'MetalSmith Documentation',
u'MetalSmith Developers', 'manual'),
'MetalSmith Documentation',
'MetalSmith Developers', 'manual'),
]
# Example configuration for intersphinx: refer to the Python standard library.

View File

@ -62,8 +62,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'MetalSmith Release Notes'
copyright = u'2018, MetalSmith Developers'
project = 'MetalSmith Release Notes'
copyright = '2018, MetalSmith Developers'
# Release notes are version independent.
# The short X.Y version.