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/2003-July/037121.html below:

[Python-Dev] Vacation and possibly a new bug

[Python-Dev] Vacation and possibly a new bug [Python-Dev] Vacation and possibly a new bugGuido van Rossum guido@python.org
Tue, 22 Jul 2003 19:24:25 -0400
> And why does ``t = (time((time_t *)0) / YEAR) * YEAR;`` on line 608 have 
> to divide by YEAR and then multiply by YEAR?  Shouldn't those cancel out?

I guess it should have used // instead of /.  (X//Y)*Y is a standard
way to round X down to a whole multiple of Y, and I presume that's
what the code here does.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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