Future division patch available (PEP 238)
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Sun Jul 22 03:14:25 EDT 2001
Sun, 22 Jul 2001 00:36:38 -0400, Guido van Rossum <guido at digicool.com> pisze:
> I thought again about the merits of the '//' operator vs. 'div'
> (either as a function or as a keyword binary operator), and figured
> that '//' is the best choice: it doesn't introduce a new keyword
> (which would cause more pain), and it works as an augmented assignment
> (//=) as well.
Why div= wouldn't work? (Lexed as two tokens.)
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK
More information about the Python-list
mailing list