initial commit
This commit is contained in:
14
mne/utils/_typing.py
Normal file
14
mne/utils/_typing.py
Normal file
@@ -0,0 +1,14 @@
|
||||
"""Shared objects used for type annotations."""
|
||||
|
||||
# Authors: The MNE-Python contributors.
|
||||
# License: BSD-3-Clause
|
||||
# Copyright the MNE-Python contributors.
|
||||
|
||||
import sys
|
||||
|
||||
if sys.version_info >= (3, 11):
|
||||
from typing import Self
|
||||
else:
|
||||
from typing import TypeVar
|
||||
|
||||
Self = TypeVar("Self")
|
||||
Reference in New Issue
Block a user