mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Small changes in the documentation
This commit is contained in:
parent
328ad7627b
commit
695e01b3da
2 changed files with 4 additions and 3 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import asyncio as _asyncio
|
||||
from contextlib import suppress
|
||||
|
||||
from aiogram.dispatcher.flags import FlagGenerator
|
||||
|
|
@ -15,9 +16,8 @@ from .utils.text_decorations import markdown_decoration as md
|
|||
|
||||
with suppress(ImportError):
|
||||
import uvloop as _uvloop
|
||||
import asyncio
|
||||
|
||||
asyncio.set_event_loop_policy(_uvloop.EventLoopPolicy())
|
||||
_asyncio.set_event_loop_policy(_uvloop.EventLoopPolicy())
|
||||
|
||||
|
||||
F = MagicFilter()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import pytest
|
||||
import sys
|
||||
|
||||
import pytest
|
||||
|
||||
from aiogram.fsm.state import State, StatesGroup, any_state
|
||||
|
||||
PY312_OR_GREATER = sys.version_info >= (3, 12)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue