[PYTHON DOC-SIG] Bugs in documentation
Christian Tismer
tismer@tismer.com
Thu, 06 Mar 1997 22:45:44 +0100
Tomas Valusek wrote:
>
> Hi,
>
> 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?
- chris
_______________
DOC-SIG - SIG for the Python Documentation Project
send messages to: doc-sig@python.org
administrivia to: doc-sig-request@python.org
_______________