mirror of
https://github.com/malmeloo/FindMy.py.git
synced 2026-04-19 22:54:20 +02:00
docs: hide typevar definitions
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
from collections.abc import Coroutine
|
||||
from typing import TypeVar, Union
|
||||
|
||||
T = TypeVar("T")
|
||||
_T = TypeVar("_T")
|
||||
|
||||
# Cannot use `|` operator (PEP 604) in python 3.9,
|
||||
# even with __future__ import since it is evaluated directly
|
||||
MaybeCoro = Union[T, Coroutine[None, None, T]]
|
||||
MaybeCoro = Union[_T, Coroutine[None, None, _T]]
|
||||
|
||||
Reference in New Issue
Block a user