8000 Remove unicode legacy code · PostPCEra/github3.py@cd1af16 · GitHub
[go: up one dir, main page]

Skip to content

Commit cd1af16

Browse files
author
staticdev
committed
Remove unicode legacy code
1 parent 5766ecd commit cd1af16

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+9
-67
lines changed

docs/source/conf.py

Lines changed: 7 additions & 7 deletions
master_doc = 'index'
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
4646

4747
# General information about the project.
48-
project = u'github3.py'
49-
copyright = u'2012-2018 - Ian Stapleton Cordasco'
48+
project = 'github3.py'
49+
copyright = '2012-2021 - Ian Stapleton Cordasco'
5050

5151
# The version info for the project you're documenting, acts as replacement for
5252
# |version| and |release|, also used in various other places throughout the
@@ -186,8 +186,8 @@
186186
# Grouping the document tree into LaTeX files. List of tuples
187187
# (source start file, target name, title, author, documentclass [howto/manual]).
188188
latex_documents = [
189-
('index', 'github3.py.tex', u'github3.py Documentation',
190-
u'Ian Cordasco', 'manual'),
189+
('index', 'github3.py.tex', 'github3.py Documentation',
190+
'Ian Cordasco', 'manual'),
191191
]
192192

193193
# The name of an image file (relative to this directory) to place at the top of
@@ -219,8 +219,8 @@
219219
# One entry per manual page. List of tuples
220220
# (source start file, name, description, authors, manual section).
221221
man_pages = [
222-
('index', 'github3.py', u'github3.py Documentation',
223-
[u'Ian Cordasco'], 1)
222+
('index', 'github3.py', 'github3.py Documentation',
223+
['Ian Cordasco'], 1)
224224
]
225225

226226
# If true, show URL addresses after external links.
@@ -232,7 +232,7 @@
232232
# (source start file, target name, title, author,
233233
# dir menu entry, description, category)
234234
texinfo_documents = [
235-
('index', 'github3.py', u'github3.py Documentation', u'Ian Cordasco',
235+
('index', 'github3.py', 'github3.py Documentation', 'Ian Cordasco',
236236
'github3.py', 'Wrapper for GitHub API v3', 'Miscellaneous'),
237237
]
238238

src/github3/auths.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# -*- coding: utf-8 -*-
22
"""This module contains the Authorization object."""
3-
from __future__ import unicode_literals
4-
53
from .decorators import requires_basic_auth
64
from .models import GitHubCore
75

src/github3/checks.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# -*- coding: utf-8 -*-
22
"""This module contains all the classes relating to Checks."""
3-
from __future__ import unicode_literals
4-
53
from json import dumps
64

75
from . import decorators

src/github3/events.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# -*- coding: utf-8 -*-
22
"""This module contains the classes related to Events."""
3-
from __future__ import unicode_literals
4-
53
import copy
64

75
from . import models

src/github3/gists/comment.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# -*- coding: utf-8 -*-
22
"""Module containing the logic for a GistComment."""
3-
from __future__ import unicode_literals
4-
53
from .. import decorators
64
from .. import models
75
from .. import users

src/github3/gists/file.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# -*- coding: utf-8 -*-
22
"""Module containing the GistFile object."""
3-
from __future__ import unicode_literals
4-
53
from .. import models
64

75

src/github3/gists/gist.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# -*- coding: utf-8 -*-
22
"""This module contains the Gist, ShortGist, and GistFork objects."""
3-
from __future__ import unicode_literals
4-
53
from json import dumps
64

75
from .. import models

src/github3/gists/history.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# -*- coding: utf-8 -*-
22
"""Module containing the GistHistory object."""
3-
from __future__ import unicode_literals
4-
53
from .. import models
64
from .. import users
75

src/github3/git.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
55
See also: http://developer.github.com/v3/git/
66
"""
7-
from __future__ import unicode_literals
87
import base64
98

109
from json import dumps

src/github3/github.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# -*- coding: utf-8 -*-
22
"""This module contains the main interfaces to the API."""
3-
from __future__ import unicode_literals
4-
53
import json
64
import re
75

0 commit comments

Comments
 (0)
0