[PYTHON DOC-SIG] Bugs in documentation
Thu, 06 Mar 1997 22:45:44 +0100
Tomas Valusek wrote:
> I'm making a slow progress in reading docs, but I've found some bugs already.
> General bug:
> In Library Reference, Chapter 2.1.4 are swapped descriptions of / and % operators. Quite fatal for unexperienced ...
Maybe you got mislead by the notation here
x / y
quotient of x and y --- (1)
x % y
remainder of x / y
because x / y on integers really truncates to an integer, and
x % y is the remainder of that?
DOC-SIG - SIG for the Python Documentation Project
send messages to: firstname.lastname@example.org
administrivia to: email@example.com