Add CoreFoundationEventLoop directly to avoid pulling in ALL of PyObjC
This commit is contained in:
parent
dae3e49783
commit
da90e64dac
4 changed files with 190 additions and 0 deletions
1
typings/corefoundationasyncio/__init__.pyi
Normal file
1
typings/corefoundationasyncio/__init__.pyi
Normal file
|
@ -0,0 +1 @@
|
|||
from .eventloop import CoreFoundationEventLoop as CoreFoundationEventLoop
|
4
typings/corefoundationasyncio/eventloop.pyi
Normal file
4
typings/corefoundationasyncio/eventloop.pyi
Normal file
|
@ -0,0 +1,4 @@
|
|||
import asyncio
|
||||
|
||||
class CoreFoundationEventLoop(asyncio.SelectorEventLoop):
|
||||
def __init__(self, console_app: bool = ..., *eventloop_args) -> None: ...
|
Loading…
Add table
Add a link
Reference in a new issue