mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-05 03:26:46 +00:00
✨ Feature: 支持 PEP 695 类型别名 (#3621)
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
type AliasedException = Exception
|
||||
|
||||
|
||||
async def aliased_exc(e: AliasedException) -> Exception:
|
||||
return e
|
Reference in New Issue
Block a user