Skip to content

Commit 8d7cd0a

Browse files
committed
document twisted support
1 parent 4eeadd5 commit 8d7cd0a

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"async",
2020
"trio",
2121
"asyncio",
22+
"twisted",
2223
],
2324
extras_require={":python_version < '3.7'": ["contextvars>=2.1"]},
2425
python_requires=">=3.5",
@@ -28,6 +29,7 @@
2829
"License :: OSI Approved :: Apache Software License",
2930
"Framework :: Trio",
3031
"Framework :: AsyncIO",
32+
"Framework :: Twisted",
3133
"Operating System :: POSIX :: Linux",
3234
"Operating System :: MacOS :: MacOS X",
3335
"Operating System :: Microsoft :: Windows",

sniffio/_impl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def current_async_library():
2323
**asyncio** ``"asyncio"``
2424
**Trio-asyncio** v0.8.2+ ``"trio"`` or ``"asyncio"``,
2525
depending on current mode
26+
**Twisted** v?+ ``"twisted"`` or ``"asyncio"``,
27+
depending on current mode
2628
================ =========== ============================
2729
2830
Returns:

0 commit comments

Comments
 (0)