Allowing non-ASCII identifiers

Brian Quinlan brian at sweetapp.com
Sat Feb 14 18:53:04 EST 2004


> > someComObject.getattr('yield')(2,3)
> > someRPCServer.getattr('yield')(2,3)
> 
> I think you mean getattr(someComObject('yield'))(2,3,)

We both need a Python refresher :-)

getattr(someComObject, 'yield')(2,3)

Cheers,
Brian





More information about the Python-list mailing list