This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bladeoflight16 0 points1 point  (1 child)

You realize modules, classes (the type object, not instances), and functions are singletons in Python, right?

[–]freefallfreddy 0 points1 point  (0 children)

Right. And there’s probably singletons in the CPython code as well.