mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-30 14:36:41 +00:00 
			
		
		
		
	📝 Docs: 修复 RegexMatched 文档类型标注错误 (#2629)
				
					
				
			This commit is contained in:
		| @@ -967,7 +967,7 @@ async def _(foo: Annotated[Match[str], RegexMatched()]): ... | ||||
|   <TabItem value="3.8" label="Python 3.8+"> | ||||
|  | ||||
| ```python {4} | ||||
| from re import Match | ||||
| from typing import Match | ||||
| from nonebot.params import RegexMatched | ||||
|  | ||||
| async def _(foo: Match[str] = RegexMatched()): ... | ||||
|   | ||||
		Reference in New Issue
	
	Block a user