On May 3, 5:59 am, [EMAIL PROTECTED] (Alex Martelli) wrote: > Steven D'Aprano <[EMAIL PROTECTED]> wrote: > > On Wed, 02 May 2007 21:19:54 -0400, Roy Smith wrote: > > > > for c in s: > > > raise "it's not empty" > > > String exceptions are depreciated and shouldn't be used. > > >http://docs.python.org/api/node16.html > > They're actually deprecated, not depreciated.
In Steven's defence, string exceptions *are* probably worth less, as there's no longer such a demand for them. -- Ant... -- http://mail.python.org/mailman/listinfo/python-list