Attribute(expr value, identifier attr, expr_context ctx)
>>> print(ast.dump(ast.parse('snake.colour', mode='eval'), indent=4)) Expression( body=Attribute( value=Name(id='snake'), attr='colour'))
ast/Attribute
Attribute