Is there a way to customise math.sqrt(x) for some x?

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat Jul 16 04:35:38 EDT 2011


I have a custom object that customises the usual maths functions and
operators, such as addition, multiplication, math.ceil etc.

Is there a way to also customise math.sqrt? I don't think there is, but I
may have missed something.


-- 
Steven




More information about the Python-list mailing list