binding a reference to a variable

Aahz aahz at pythoncraft.com
Wed Apr 10 15:56:46 EDT 2002


In article <yu99vgazifhp.fsf at europa.research.att.com>,
Andrew Koenig  <ark at research.att.com> wrote:
>
>Fredrik> you could of course use a RE-like approach:
>
>Yes, that's one possibility.

You say that as though you don't really like the idea.  But that *is*
the Pythonic approach: return an object that you can probe to get the
appropriate information.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"There are times when effort is important and necessary, but this should
not be taken as any kind of moral imperative."  --jdecker



More information about the Python-list mailing list