Hacker News new | ask | show | jobs
by lucb1e 2588 days ago
How odd to notice that my brain really messed that number type up. I could swear Python has a type called (capitalized) Number and that this handles arbitrarily large numbers as well as decimals. Seems like that 'memory' is completely fictional.
1 comments

Python does actually have an abstract type for numbers, and it is called Number: https://docs.python.org/3/library/numbers.html.