Floating point calculation problem

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sat Feb 2 20:25:09 EST 2013


Michael Torrie wrote:

> def squeeze_duck (duck):
>     // return the quack
>     return duck.squeeze()

I'm curious, what language were you thinking of when you wrote the comment
using // instead of # ?



-- 
Steven




More information about the Python-list mailing list