Martin v. Löwis wrote: > BTW, which of these would be correct
My thoughts would be (a).[b] Okay (a.)[b] Not okay a.[(b)] Okay a.([b]) Not okay a . [ b ] Okay > and what is the semantics of > > a.[42] The same as getattr(a, 42), which depends on a's __getattr__ implementation. -- Greg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com