On 6/10/2011 3:31 AM, Gregory Ewing wrote:
Eric Snow wrote:
But for "method" objects (really a wrapper for
bound functions) would it change the __doc__ of the wrapper or of the
bound function?
You probably wouldn't want to change the __doc__ of a method
wrapper; instead you'd make sure you got
Eric Snow wrote:
But for "method" objects (really a wrapper for
bound functions) would it change the __doc__ of the wrapper or of the
bound function?
You probably wouldn't want to change the __doc__ of a method
wrapper; instead you'd make sure you got hold of the underlying
function first. So