Floating point calculation problem

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Feb 3 02:25:09 CET 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