4 ms·
I don't think the existing pythonic way is not too verbose: if node and node.child and node.child.attribute: …
by singularity2001 8y ago
I don't think the existing pythonic way is not too verbose:
if node and node.child and node.child.attribute:
…