A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-April/003170.html below:

[Python-Dev] re: division

[Python-Dev] re: division [Python-Dev] re: divisionTim Peters tim_one@email.msn.com
Wed, 5 Apr 2000 23:10:39 -0400
[Greg Ward]
> ...
> In other words:
> 
>   5 div 3 = 5.__div__(3)  = operator.div(5,3)  = 1
>   5 / 3   = 5.__fdiv__(3) = operator.fdiv(5,3) = 1.6666667
> 
> (where I have used artistic license in applying __div__ to actual
> numbers -- you know what I mean).

+1 from me provided you can sneak the new keyword past Guido <1/3 wink>.





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4