mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
Remove inheritance from object.
This commit is contained in:
@@ -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]]
|
||||
|
||||
Reference in New Issue
Block a user