remove unicode in code

Change-Id: Ie293ef73016e4e0b89960fc9ac88019f922f7c2d
This commit is contained in:
xuanyandong 2021-01-03 15:42:09 +08:00 committed by Radosław Piliszek
parent 4f299a62c2
commit 5813b3271c
3 changed files with 18 additions and 18 deletions

View File

@ -51,18 +51,18 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'etcd3-gateway'
copyright = u'2017, Davanum Srinivas'
author = u'Davanum Srinivas'
project = 'etcd3-gateway'
copyright = '2017, Davanum Srinivas'
author = 'Davanum Srinivas'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = u''
version = ''
# The full version, including alpha/beta/rc tags.
release = u''
release = ''
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@ -132,8 +132,8 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'etcd3-gateway.tex', u'etcd3-gateway Documentation',
u'Davanum Srinivas', 'manual'),
(master_doc, 'etcd3-gateway.tex', 'etcd3-gateway Documentation',
'Davanum Srinivas', 'manual'),
]
@ -142,7 +142,7 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'etcd3-gateway', u'etcd3-gateway Documentation',
(master_doc, 'etcd3-gateway', 'etcd3-gateway Documentation',
[author], 1)
]
@ -153,7 +153,7 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'etcd3-gateway', u'etcd3-gateway Documentation',
(master_doc, 'etcd3-gateway', 'etcd3-gateway Documentation',
author, 'etcd3-gateway', 'One line description of project.',
'Miscellaneous'),
]

View File

@ -37,4 +37,4 @@ Basic usage example::
for event in watcher: # blocks until event comes, cancel via watch_cancel()
print(event)
# modify event: {u'kv': {u'mod_revision': u'8', u'version': u'3', u'value': 'NEW_VAL', u'create_revision': u'2', u'key': 'KEY', u'lease': u'7587847878767953426'}}
# modify event: {'kv': {'mod_revision': '8', 'version': '3', 'value': 'NEW_VAL', 'create_revision': '2', 'key': 'KEY', 'lease': '7587847878767953426'}}

View File

@ -55,8 +55,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'etcd3gw Release Notes'
copyright = u'2016, OpenStack Foundation'
project = 'etcd3gw Release Notes'
copyright = '2016, OpenStack Foundation'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@ -209,8 +209,8 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'GlanceReleaseNotes.tex', u'Glance Release Notes Documentation',
u'Glance Developers', 'manual'),
('index', 'GlanceReleaseNotes.tex', 'Glance Release Notes Documentation',
'Glance Developers', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@ -239,8 +239,8 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'glancereleasenotes', u'Glance Release Notes Documentation',
[u'Glance Developers'], 1)
('index', 'glancereleasenotes', 'Glance Release Notes Documentation',
['Glance Developers'], 1)
]
# If true, show URL addresses after external links.
@ -253,8 +253,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'GlanceReleaseNotes', u'Glance Release Notes Documentation',
u'Glance Developers', 'GlanceReleaseNotes',
('index', 'GlanceReleaseNotes', 'Glance Release Notes Documentation',
'Glance Developers', 'GlanceReleaseNotes',
'One line description of project.',
'Miscellaneous'),
]