Allowing non-ASCII identifiers

Brian Quinlan brian at sweetapp.com
Sun Feb 15 00:53:04 CET 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