__brace__ (PEP?)

Roy Smith roy at panix.com
Sun May 8 20:15:12 EDT 2005


James Stroud <jstroud at mbi.ucla.edu> wrote:
> why not have "__brace__" (or some other, better name) 
> for anobject{something}. Such braces might be useful for 
> cross-sectioning nested data structures:

This seems like a pretty esoteric operation to devote a bit of syntax to.  
It doesn't seem like something people want to do very often.



More information about the Python-list mailing list