-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
type stubs: upgrade for newer stricter mypy 1.14
- Loading branch information
Showing
2 changed files
with
16 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
from .topicobj import Topic as Topic | ||
from enum import IntEnum | ||
|
||
from _typeshed import Incomplete | ||
|
||
from .topicobj import Topic | ||
from typing import Optional | ||
|
||
class ITopicTreeVisitor: ... | ||
|
||
class TreeTraversal(IntEnum): | ||
DEPTH: Incomplete | ||
BREADTH: Incomplete | ||
MAP: Incomplete | ||
DEPTH = 0 | ||
BREADTH = 1 | ||
MAP = 2 | ||
|
||
class TopicTreeTraverser: | ||
def __init__(self, visitor: ITopicTreeVisitor = ...) -> None: ... | ||
def __init__(self, visitor: Optional[ITopicTreeVisitor] = None) -> None: ... | ||
def setVisitor(self, visitor: ITopicTreeVisitor) -> None: ... | ||
def traverse( | ||
self, topicObj: Topic, how: TreeTraversal = ..., onlyFiltered: bool = ... | ||
) -> None: ... | ||
def traverse(self, topicObj: Topic, how: TreeTraversal = ..., onlyFiltered: bool = True) -> None: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters