mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
add jinja macro fields (#3548)
This commit is contained in:
committed by
Sebastian Rittau
parent
c0c780a758
commit
9d61baa7be
5
third_party/2and3/jinja2/nodes.pyi
vendored
5
third_party/2and3/jinja2/nodes.pyi
vendored
@@ -1,3 +1,4 @@
|
||||
import typing
|
||||
from typing import Any, Optional
|
||||
|
||||
class Impossible(Exception): ...
|
||||
@@ -54,6 +55,10 @@ class If(Stmt):
|
||||
|
||||
class Macro(Stmt):
|
||||
fields: Any
|
||||
name: str
|
||||
args: typing.List[Any]
|
||||
defaults: typing.List[Any]
|
||||
body: typing.List[Any]
|
||||
|
||||
class CallBlock(Stmt):
|
||||
fields: Any
|
||||
|
||||
Reference in New Issue
Block a user