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/2002-December/031515.html below:

Extend divmod() for Multiple Divisors

[Python-Dev] PEP 303: Extend divmod() for Multiple Divisors [Python-Dev] PEP 303: Extend divmod() for Multiple DivisorsGuido van Rossum guido@python.org
Tue, 31 Dec 2002 13:22:19 -0500
On the one hand I find this a nice backwards-compatible extension of
divmod().  On the other hand I've coded this use case with separate
divmod() calls and never had any trouble getting it right.  So I think
this doesn't address a real need, and it conflicts with the need to
avoid unnecessary growth of the language.  Explaining it (especially
why it works backward) takes some effort, and I don't want to do that
to all the book authors etc.

--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