Skip to content

Commit 265ab91

Browse files
authored
MAINT: Python3 classes do not need to inherit from object (#325)
1 parent 5b3b4a4 commit 265ab91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: numpydoc/docscrape.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def strip_blank_lines(l):
2121
return l
2222

2323

24-
class Reader(object):
24+
class Reader:
2525
"""A line-based string reader.
2626
2727
"""

Diff for: numpydoc/numpydoc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def update_config(app, config=None):
340340
from sphinx.domains.python import PythonDomain
341341

342342

343-
class ManglingDomainBase(object):
343+
class ManglingDomainBase:
344344
directive_mangling_map = {}
345345

346346
def __init__(self, *a, **kw):

0 commit comments

Comments
 (0)