mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix docs
This commit is contained in:
parent
e1cd68d4d3
commit
9ea22a29fc
2 changed files with 4 additions and 9 deletions
|
|
@ -1,7 +1,3 @@
|
|||
"""
|
||||
Source: https://stackoverflow.com/questions/2536307/decorators-in-the-python-standard-lib-deprecated-specifically
|
||||
"""
|
||||
|
||||
import functools
|
||||
import inspect
|
||||
import warnings
|
||||
|
|
@ -13,6 +9,8 @@ def deprecated(reason):
|
|||
This is a decorator which can be used to mark functions
|
||||
as deprecated. It will result in a warning being emitted
|
||||
when the function is used.
|
||||
|
||||
Source: https://stackoverflow.com/questions/2536307/decorators-in-the-python-standard-lib-deprecated-specifically
|
||||
"""
|
||||
|
||||
if isinstance(reason, str):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue