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/2008-January/076561.html below:

[Python-Dev] trunc()

[Python-Dev] trunc() [Python-Dev] trunc()Raymond Hettinger python at rcn.com
Sun Jan 27 19:54:10 CET 2008
> Then int(<float>) can be defined by deferring to trunc()
> -- as opposed to round().

That part is new and represents some progress.  If I understand it
correctly, it means that we won't have both __int__ and __trunc__
magic methods.  That's a good thing.


Raymond
More information about the Python-Dev mailing list

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