mirror of
http://shenjack.top:5100/ARS/ARS-docs.git
synced 2024-11-23 03:01:05 +08:00
3.9 你怎么这typing都不支持(恼
This commit is contained in:
parent
1127dff969
commit
d724b9b06f
|
@ -1,4 +1,5 @@
|
|||
from pathlib import Path
|
||||
from typing import Union
|
||||
from pprint import pprint
|
||||
|
||||
import mistune
|
||||
|
@ -10,7 +11,7 @@ from lib_not_dr.types.options import Options
|
|||
|
||||
|
||||
ast_markdown = mistune.create_markdown(renderer='ast')
|
||||
ast_type = list[dict[str, str | dict]]
|
||||
ast_type = list[dict[str, Union[str, dict]]]
|
||||
|
||||
|
||||
class TagParser(Options):
|
||||
|
|
Loading…
Reference in New Issue
Block a user