Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove special case
  • Loading branch information
brandtbucher committed Dec 17, 2022
commit d616c2d7888ec7f9e986bf2f88438ed634a6368a
3 changes: 0 additions & 3 deletions Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,6 @@ location_is_after(location loc1, location loc2) {
static inline bool
same_location(location a, location b)
{
if (a.lineno < 0 && b.lineno < 0) {
return true;
}
return a.lineno == b.lineno &&
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to git diff you have a trailing space here. Surprised CI didn't catch it?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, nice catch! I'll fix it.

a.end_lineno == b.end_lineno &&
a.col_offset == b.col_offset &&
Expand Down