On 8/19/2010 6:41 PM, Chris Rebert wrote: <SNIP>
> <snip> >> >> How do you get a reference to a method found in one object instance, but >> actually apply it to another instance of the same class? I'm guessing >> this may >> involve fiddling with some of the internal __ variables, but I'm not >> quite sure where to go next. > > You must access the method from the class rather than the instance; > this produces an "unbound" method that is not bound to a specific > instance and does not have self already filled-in. > In your dictionary, replace "".lower with str.lower, and so on for the > other methods. > > Cheers, > Chris > -- > http://blog.rebertia.com Thanks Chris - just what I needed ... -- ------------------------------------------------------------------------ Tim Daneliuk tun...@tundraware.com -- http://mail.python.org/mailman/listinfo/python-list