def _Getattr(self, t):
if isinstance(t.expr, (Div, Mul, Sub, Add)):<EOL><INDENT>self._write('<STR_LIT:(>')<EOL>self._dispatch(t.expr)<EOL>self._write('<STR_LIT:)>')<EOL><DEDENT>else:<EOL><INDENT>self._dispatch(t.expr)<EOL><DEDENT>self._write('<STR_LIT:.>'+t.attrname)<EOL>
Handle getting an attribute of an object