summaryrefslogtreecommitdiff
path: root/sphinx/roles.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-09-11 06:48:35 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2018-09-11 07:07:01 -0700
commit490e4aed4145659dab000e86269bd7a3dc686318 (patch)
tree87b32f22ae1ff41b03877a68bbb8ab4f1c2c9ab7 /sphinx/roles.py
parent844a3a5c226ff8891a1ce139f10ac92157c75da5 (diff)
downloadsphinx-git-490e4aed4145659dab000e86269bd7a3dc686318.tar.gz
Remove unnecessary object from class definitions
In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary.
Diffstat (limited to 'sphinx/roles.py')
-rw-r--r--sphinx/roles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/roles.py b/sphinx/roles.py
index 453eb5aa0..457c7465a 100644
--- a/sphinx/roles.py
+++ b/sphinx/roles.py
@@ -45,7 +45,7 @@ generic_docroles = {
# -- generic cross-reference role ----------------------------------------------
-class XRefRole(object):
+class XRefRole:
"""
A generic cross-referencing role. To create a callable that can be used as
a role function, create an instance of this class.