Fix potential race by checking for Noneness explicitely
Just checking boolean value would lead to a len() call, which might fail as line_idxs might not have been set yet
Showing
Please
register
or
sign in
to comment
Just checking boolean value would lead to a len() call, which might fail as line_idxs might not have been set yet