On Thu, Jan 22, 2015 at 9:37 PM, Mario Figueiredo <mar...@gmail.com> wrote: > Chris, > >> Hold on a moment, how often do you really do this kind of thing with >> "might be one of them or a sequence"? > > > Is it really that important that I give a more real-life example, or can't > you just get the problem from a ad-hoc example? > > I could replace the variable names with spam, ham and eggs, if you wish.
I'd rather see a real-world example that can't be solved with either better design or some simple aliases. (And yes, the type hinting does allow for aliases.) ChrisA -- https://mail.python.org/mailman/listinfo/python-list