Skip to content

Commit 5983a5a

Browse files
authored
Merge pull request #3870 from key262yek/update-syntaxerror
Update syntaxerror highlight from CPython v3.10.5
2 parents c891642 + 4c94439 commit 5983a5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vm/src/exceptions.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,9 @@ impl ExceptionZoo {
796796
// TODO: members
797797
"filename" => ctx.none(),
798798
"lineno" => ctx.none(),
799+
"end_lineno" => ctx.none(),
799800
"offset" => ctx.none(),
801+
"end_offset" => ctx.none(),
800802
"text" => ctx.none(),
801803
});
802804
extend_exception!(PyIndentationError, ctx, excs.indentation_error);

0 commit comments

Comments
 (0)