1 2 3 4 5 6 7 8 9
x = 5 x.foo """ TRACEBACK: Traceback (most recent call last): File "attr__get_int_error.py", line 2, in <module> x.foo AttributeError: 'int' object has no attribute 'foo' """