mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove unnecessary object from class definitions
In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary.
This commit is contained in:
@@ -84,7 +84,7 @@ def processing(message):
|
||||
print('done')
|
||||
|
||||
|
||||
class Changes(object):
|
||||
class Changes:
|
||||
def __init__(self, path):
|
||||
self.path = path
|
||||
self.fetch_version()
|
||||
|
Reference in New Issue
Block a user