def foo(x):     if x >= 0:         return math.sqrt(x)">

(original) (raw)

I've taken the liberty of adding the following old but good rule to PEP 8 (I was surprised to find it wasn't already there since I've lived by this for ages):




--
--Guido van Rossum (python.org/~guido)