| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,15 +12,15 @@ | |||
| 12 | 12 | ) | |
| 13 | 13 | ||
| 14 | 14 | import re | |
| 15 | - from collections import deque as Deque | ||
| 15 | + from collections import deque | ||
| 16 | 16 | ||
| 17 | 17 | from string import digits | |
| 18 | 18 | import time | |
| 19 | 19 | import calendar | |
| 20 | 20 | from datetime import datetime, timedelta, tzinfo | |
| 21 | 21 | ||
| 22 | 22 | # typing ------------------------------------------------------------ | |
| 23 | - from typing import Any, Callable, IO, Iterator, Sequence, TYPE_CHECKING, Tuple, Type, Union, cast, overload | ||
| 23 | + from typing import Any, Callable, Deque, IO, Iterator, Sequence, TYPE_CHECKING, Tuple, Type, Union, cast, overload | ||
| 24 | 24 | ||
| 25 | 25 | if TYPE_CHECKING: | |
| 26 | 26 | from .submodule.base import Submodule | |
@@ -364,7 +364,7 @@ def traverse(self, | |||
| 364 | 364 | destination, i.e. tuple(src, dest) with the edge spanning from | |
| 365 | 365 | source to destination""" | |
| 366 | 366 | visited = set() | |
| 367 | - stack = Deque() # type: Deque[Tuple[int, Traversable, Union[Traversable, None]]] | ||
| 367 | + stack = deque() # type: Deque[Tuple[int, Traversable, Union[Traversable, None]]] | ||
| 368 | 368 | stack.append((0, self, None)) # self is always depth level 0 | |
| 369 | 369 | ||
| 370 | 370 | def addToStack(stack: Deque[Tuple[int, 'Traversable', Union['Traversable', None]]], | |
| Back | FazBrowse Home | New Git URL |
0 commit comments