diff --git a/setup.py b/setup.py index 374839c..d845a13 100644 --- a/setup.py +++ b/setup.py @@ -19,6 +19,7 @@ "async", "trio", "asyncio", + "twisted", ], python_requires=">=3.7", tests_require=['curio'], @@ -27,6 +28,7 @@ "License :: OSI Approved :: Apache Software License", "Framework :: Trio", "Framework :: AsyncIO", + "Framework :: Twisted", "Operating System :: POSIX :: Linux", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", diff --git a/sniffio/_impl.py b/sniffio/_impl.py index c1a7bbf..0ba46a9 100644 --- a/sniffio/_impl.py +++ b/sniffio/_impl.py @@ -35,6 +35,8 @@ def current_async_library() -> str: **asyncio** ``"asyncio"`` **Trio-asyncio** v0.8.2+ ``"trio"`` or ``"asyncio"``, depending on current mode + **Twisted** v?+ ``"twisted"`` or ``"asyncio"``, + depending on current mode ================ =========== ============================ Returns: