Archive for July 6th, 2009

06Jul

Python: What the Hell is a Slot?

Posted by Elf Sternberg as programming, python

So, while working my way through my current project, I came across the notion of a ‘slot’ as discussed here. And I wondered, what the Hell is a slot? A slot is nothing more than a memory management nicety: when you define __slots__ on a class, you’re telling the Python interpreter that the list of […]


Subscribe to Feed

Categories

Calendar

July 2009
M T W T F S S
« Jun   Aug »
 12345
6789101112
13141516171819
20212223242526
2728293031