On Sat, Jun 18, 2011 at 1:50 PM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > I don't think the use-case for this is convincing enough to need it, but > it's an interesting concept. I once played around with a mini-language > for config files that included a "STOP" command, so that: > > key = value > STOP > everything under here is ignored >
Isn't that how Perl's __data__ keyword works? (Long time since I've used it, it mightn't be quite __data__.) ChrisA -- http://mail.python.org/mailman/listinfo/python-list