- publishing free software manuals
Python Language Reference Manual
by Guido van Rossum and Fred L. Drake, Jr.
Paperback (6"x9"), 120 pages
ISBN 0954161785
RRP £12.95 ($19.95)

Sales of this book support the Python Software Foundation! Get a printed copy>>>

5.1 Arithmetic conversions

When a description of an arithmetic operator below uses the phrase "the numeric arguments are converted to a common type," the arguments are coerced using the coercion rules listed in subsection 3.4.8. If both arguments are standard numeric types, the following coercions are applied:

Some additional rules apply for certain operators (e.g., a string left argument to the `%' operator). Extensions can define their own coercions.

ISBN 0954161785Python Language Reference ManualSee the print edition