✏️ fix docstring typo

This commit is contained in:
yanyongyu
2020-11-30 12:43:44 +08:00
parent e5463cc564
commit 0775a232ce
4 changed files with 153 additions and 117 deletions

View File

@ -46,10 +46,11 @@ nonebot.export().default = "bar"
def some_function():
pass
# this don't work under python 3.9
# this doesn't work before python 3.9
# use
# export = nonebot.export(); @export.sub
# instead
# See also PEP-614: https://www.python.org/dev/peps/pep-0614/
@nonebot.export().sub
def something_else():
pass