File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -4293,6 +4293,19 @@ def dedent(self, line):
4293
4293
StateKeeper = Callable [[str | None ], None ]
4294
4294
4295
4295
class DSLParser :
4296
+ function : Function | None
4297
+ state : StateKeeper
4298
+ keyword_only : bool
4299
+ positional_only : bool
4300
+ group : int
4301
+ parameter_state : int
4302
+ seen_positional_with_default : bool
4303
+ indent : IndentStack
4304
+ kind : str
4305
+ coexist : bool
4306
+ parameter_continuation : str
4307
+ preserve_output : bool
4308
+
4296
4309
def __init__ (self , clinic : Clinic ) -> None :
4297
4310
self .clinic = clinic
4298
4311
@@ -4312,7 +4325,7 @@ def __init__(self, clinic: Clinic) -> None:
4312
4325
4313
4326
def reset (self ) -> None :
4314
4327
self .function = None
4315
- self .state : StateKeeper = self .state_dsl_start
4328
+ self .state = self .state_dsl_start
4316
4329
self .parameter_indent = None
4317
4330
self .keyword_only = False
4318
4331
self .positional_only = False
You can’t perform that action at this time.
0 commit comments