From 490e4aed4145659dab000e86269bd7a3dc686318 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Tue, 11 Sep 2018 06:48:35 -0700 Subject: Remove unnecessary object from class definitions In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. --- sphinx/directives/code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sphinx/directives/code.py') diff --git a/sphinx/directives/code.py b/sphinx/directives/code.py index a98ab5883..868787a14 100644 --- a/sphinx/directives/code.py +++ b/sphinx/directives/code.py @@ -177,7 +177,7 @@ class CodeBlock(SphinxDirective): return [literal] -class LiteralIncludeReader(object): +class LiteralIncludeReader: INVALID_OPTIONS_PAIR = [ ('lineno-match', 'lineno-start'), ('lineno-match', 'append'), -- cgit v1.2.1