File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -826,13 +826,13 @@ def _join(parts: list[ast.expr]) -> ast.expr:
826826 # bad line numbers cause an assert to fail in debug builds
827827 for node in ast .walk (module ):
828828 if "lineno" in node ._attributes :
829- node .lineno = 1 # type: ignore[attr-defined]
829+ node .lineno = 1
830830 if "end_lineno" in node ._attributes :
831- node .end_lineno = node .lineno # type: ignore[attr-defined]
831+ node .end_lineno = node .lineno
832832 if "col_offset" in node ._attributes :
833- node .col_offset = 0 # type: ignore[attr-defined]
833+ node .col_offset = 0
834834 if "end_col_offset" in node ._attributes :
835- node .end_col_offset = node .col_offset # type: ignore[attr-defined]
835+ node .end_col_offset = node .col_offset
836836
837837 code = compile (module , "<werkzeug routing>" , "exec" )
838838 return self ._get_func_code (code , func_ast .name )
You can’t perform that action at this time.
0 commit comments