Remove inheritance from object.

This commit is contained in:
rht
2017-11-05 11:57:15 +01:00
committed by showell
parent 8990b1046d
commit e3eebf3be0
6 changed files with 19 additions and 19 deletions

View File

@@ -6,7 +6,7 @@ from typing import Callable, DefaultDict, Iterator, List, Optional, Set, Tuple
Edge = Tuple[str, str]
EdgeSet = Set[Edge]
class Graph(object):
class Graph:
def __init__(self, tuples):
# type: (EdgeSet) -> None
self.children = defaultdict(list) # type: DefaultDict[str, List[str]]