Quantcast
Channel: L suffix in long integer in Python 3.x - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Martijn Pieters for L suffix in long integer in Python 3.x

You misunderstood the documentation.The remark is aimed at people trying to strip the L from repr()in Python 2. Those people could use str() instead and get the same number without having to strip the...

View Article



L suffix in long integer in Python 3.x

In Python 2.x there was a L suffix after long integer. As Python 3 treats all integers as long integer this has been removed. From What's New In Python 3.0:The repr() of a long integer doesn’t include...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>