Verified
Commit
0ef41580
authored
Aug 24, 2022
by
Mateusz Żebrak
Browse files
Refactor checking for empty sequence with `not` operator instead of len
Reference:
https://stackoverflow.com/a/54107676
parent
aa2b6a75
Loading
Loading
Loading
Changes
1
Show whitespace changes
Inline
Side-by-side
Loading
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment