This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients marcosthomazs, martin.panter
Date 2017-03-15.08:16:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489565812.84.0.6260692496.issue29815@psf.upfronthosting.co.za>
In-reply-to
Content
If you ignore the c[0] argument, the rest looks fine to me. See the documentation at <https://docs.python.org/2/reference/expressions.html#binary-arithmetic-operations> and <https://docs.python.org/2/library/stdtypes.html#numeric-types-int-float-long-complex>.

The double-slash operator is called “floor division”. If you are expecting some other rounding, see <https://docs.python.org/2/faq/programming.html#why-does-22-10-return-3>.
History
Date User Action Args
2017-03-15 08:16:52martin.pantersetrecipients: + martin.panter, marcosthomazs
2017-03-15 08:16:52martin.pantersetmessageid: <1489565812.84.0.6260692496.issue29815@psf.upfronthosting.co.za>
2017-03-15 08:16:52martin.panterlinkissue29815 messages
2017-03-15 08:16:52martin.pantercreate