Python's attribute look-up