Bug in string.find; was: Re: Proposed PEP: New style indexing,was Re: Bug in slice type
Hallöchen!
"Terry Reedy" <tjreedy@udel.edu> writes:
Granted, try/except can be used for deliberate case discrimination
(which may even happen in the standard library in many places),
however, it is only the second most elegant method -- the most
elegant being "if". Where "if" does the job, it should be prefered
in my opinion.
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus ICQ 264-296-646
|