-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* minor changes * fix init typing * extract submethod * fix tuple
- Loading branch information
1 parent
950989a
commit 82ebda3
Showing
4 changed files
with
97 additions
and
103 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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
__email__ = "[email protected]" | ||
__all__ = ["Signal", "SignalInstance", "_compiled", "__version__"] | ||
|
||
from typing import TYPE_CHECKING | ||
from typing import TYPE_CHECKING, Tuple, Type | ||
|
||
if TYPE_CHECKING: | ||
from ._signal import Signal, SignalInstance, _compiled | ||
|
@@ -16,7 +16,7 @@ | |
|
||
if os.getenv("PSYGNAL_UNCOMPILED"): | ||
|
||
def _import_purepy_mod() -> tuple: | ||
def _import_purepy_mod() -> Tuple[Type["Signal"], Type["SignalInstance"], bool]: | ||
"""Import stuff from the uncompiled python module, for debugging.""" | ||
import importlib.util | ||
import os | ||
|
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
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
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