mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-21 10:05:37 +08:00
📝 Docs: 修复 RegexMatched
文档高亮行错误 (#2628)
This commit is contained in:
parent
bc58fbb741
commit
8a44b4d6ee
@ -955,7 +955,7 @@ async def _(foo: Namespace = ShellCommandArgs()):
|
||||
<Tabs groupId="python">
|
||||
<TabItem value="3.9" label="Python 3.9+" default>
|
||||
|
||||
```python {4}
|
||||
```python {5}
|
||||
from re import Match
|
||||
from typing import Annotated
|
||||
from nonebot.params import RegexMatched
|
||||
@ -966,7 +966,7 @@ async def _(foo: Annotated[Match[str], RegexMatched()]): ...
|
||||
</TabItem>
|
||||
<TabItem value="3.8" label="Python 3.8+">
|
||||
|
||||
```python {3}
|
||||
```python {4}
|
||||
from re import Match
|
||||
from nonebot.params import RegexMatched
|
||||
|
||||
|
@ -955,7 +955,7 @@ async def _(foo: Namespace = ShellCommandArgs()):
|
||||
<Tabs groupId="python">
|
||||
<TabItem value="3.9" label="Python 3.9+" default>
|
||||
|
||||
```python {4}
|
||||
```python {5}
|
||||
from re import Match
|
||||
from typing import Annotated
|
||||
from nonebot.params import RegexMatched
|
||||
@ -966,7 +966,7 @@ async def _(foo: Annotated[Match[str], RegexMatched()]): ...
|
||||
</TabItem>
|
||||
<TabItem value="3.8" label="Python 3.8+">
|
||||
|
||||
```python {3}
|
||||
```python {4}
|
||||
from re import Match
|
||||
from nonebot.params import RegexMatched
|
||||
|
||||
|
@ -955,7 +955,7 @@ async def _(foo: Namespace = ShellCommandArgs()):
|
||||
<Tabs groupId="python">
|
||||
<TabItem value="3.9" label="Python 3.9+" default>
|
||||
|
||||
```python {4}
|
||||
```python {5}
|
||||
from re import Match
|
||||
from typing import Annotated
|
||||
from nonebot.params import RegexMatched
|
||||
@ -966,7 +966,7 @@ async def _(foo: Annotated[Match[str], RegexMatched()]): ...
|
||||
</TabItem>
|
||||
<TabItem value="3.8" label="Python 3.8+">
|
||||
|
||||
```python {3}
|
||||
```python {4}
|
||||
from re import Match
|
||||
from nonebot.params import RegexMatched
|
||||
|
||||
|
@ -955,7 +955,7 @@ async def _(foo: Namespace = ShellCommandArgs()):
|
||||
<Tabs groupId="python">
|
||||
<TabItem value="3.9" label="Python 3.9+" default>
|
||||
|
||||
```python {4}
|
||||
```python {5}
|
||||
from re import Match
|
||||
from typing import Annotated
|
||||
from nonebot.params import RegexMatched
|
||||
@ -966,7 +966,7 @@ async def _(foo: Annotated[Match[str], RegexMatched()]): ...
|
||||
</TabItem>
|
||||
<TabItem value="3.8" label="Python 3.8+">
|
||||
|
||||
```python {3}
|
||||
```python {4}
|
||||
from re import Match
|
||||
from nonebot.params import RegexMatched
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user