On Tue, Jun 22, 2010 at 12:27 AM, Alexander Eisenhuth
<newsu...@stacom-software.de> wrote:
> Hello out there,
>
> - what is the reason, that __slots__ are introduced in python?
>
> - I want to use slots to define a class where no attributes are added at
> runtime. Is that a good idea to use slots for that?

Here is the relevant documentation:'

http://docs.python.org/reference/datamodel.html#slots

-- 
--
-- "Problems are solved by method"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to