Skip to content

Commit 993241e

Browse files
Remove unicode prefix.
In Python 3, all strings are Unicode by default. The Unicode kind prefix is unnecessary and should be removed to avoid confusion.
1 parent ec8ce54 commit 993241e

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

docs/conf.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151
master_doc = 'index'
5252

5353
# General information about the project.
54-
project = u'wolfcrypt Python'
55-
copyright = u'2022, wolfSSL Inc. All rights reserved'
56-
author = u'wolfSSL'
54+
project = 'wolfcrypt Python'
55+
copyright = '2022, wolfSSL Inc. All rights reserved'
56+
author = 'wolfSSL'
5757

5858
# The version info for the project you're documenting, acts as replacement for
5959
# |version| and |release|, also used in various other places throughout the
@@ -227,8 +227,8 @@
227227
# (source start file, target name, title,
228228
# author, documentclass [howto, manual, or own class]).
229229
latex_documents = [
230-
(master_doc, 'wolfcrypt.tex', u'wolfcrypt Python Documentation',
231-
u'wolfSSL', 'manual'),
230+
(master_doc, 'wolfcrypt.tex', 'wolfcrypt Python Documentation',
231+
'wolfSSL', 'manual'),
232232
]
233233

234234
# The name of an image file (relative to this directory) to place at the top of
@@ -257,7 +257,7 @@
257257
# One entry per manual page. List of tuples
258258
# (source start file, name, description, authors, manual section).
259259
man_pages = [
260-
(master_doc, 'wolfcrypt', u'wolfcrypt Python Documentation',
260+
(master_doc, 'wolfcrypt', 'wolfcrypt Python Documentation',
261261
[author], 1)
262262
]
263263

@@ -271,7 +271,7 @@
271271
# (source start file, target name, title, author,
272272
# dir menu entry, description, category)
273273
texinfo_documents = [
274-
(master_doc, 'wolfcrypt', u'wolfcrypt Python Documentation',
274+
(master_doc, 'wolfcrypt', 'wolfcrypt Python Documentation',
275275
author, 'wolfcrypt', 'One line description of project.',
276276
'Miscellaneous'),
277277
]

setup.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,17 @@
6666
packages=find_packages(),
6767
keywords="wolfssl, wolfcrypt, security, cryptography",
6868
classifiers=[
69-
u"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
70-
u"License :: Other/Proprietary License",
71-
u"Operating System :: OS Independent",
72-
u"Programming Language :: Python :: 3",
73-
u"Programming Language :: Python :: 3.6",
74-
u"Programming Language :: Python :: 3.7",
75-
u"Programming Language :: Python :: 3.8",
76-
u"Programming Language :: Python :: 3.9",
77-
u"Topic :: Security",
78-
u"Topic :: Security :: Cryptography",
79-
u"Topic :: Software Development"
69+
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
70+
"License :: Other/Proprietary License",
71+
"Operating System :: OS Independent",
72+
"Programming Language :: Python :: 3",
73+
"Programming Language :: Python :: 3.6",
74+
"Programming Language :: Python :: 3.7",
75+
"Programming Language :: Python :: 3.8",
76+
"Programming Language :: Python :: 3.9",
77+
"Topic :: Security",
78+
"Topic :: Security :: Cryptography",
79+
"Topic :: Software Development"
8080
],
8181

8282
setup_requires=["cffi>=1.0.0"],

0 commit comments

Comments
 (0)