Floating point calculation problem

Dave Angel d at davea.name
Sun Feb 3 03:20:49 CET 2013


On 02/02/2013 08:25 PM, Steven D'Aprano wrote:
> 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 # ?
>
>

I'm guessing that would probably be C++.  Or more recent versions of C.

-- 
DaveA



More information about the Python-list mailing list