You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thank you for writing this awsome book and it help me a lot.
I have a question about the code in the red rectangular. The node.ops[0] is an object but the [ast.Is, ast.IsNot, ast.In, ast.NotIn] is a list of class so i think this in operator will never be true. And I think maybe you want to use this section of code to skip some kinds of operators, but even then I think the In operator should not be included into the skipping list because we need to convert the In operator to the evaluate_condition() function.
I don't know whether my idea is right?
The text was updated successfully, but these errors were encountered:
Hello, thank you for writing this awsome book and it help me a lot.
I have a question about the code in the red rectangular. The
node.ops[0]
is an object but the[ast.Is, ast.IsNot, ast.In, ast.NotIn]
is a list of class so i think thisin
operator will never be true. And I think maybe you want to use this section of code to skip some kinds of operators, but even then I think theIn
operator should not be included into the skipping list because we need to convert theIn
operator to theevaluate_condition()
function.I don't know whether my idea is right?
The text was updated successfully, but these errors were encountered: