Floating point calculation problem

Dave Angel d at davea.name
Sat Feb 2 21:20:49 EST 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