object):
... __slots__ = ['a', 'b']
...
>>>
>>> c = C()
>>> c.a = 10
>>> c.b = 10
>>> c.c = 10
Traceback (most recent call last):
File "", line 1, in ?
AttributeError: 'C' object has no attribute 'c'
Hope
David Anton wrote:
> I'm new to IronPyton (and Python in general).
> Where can I find a good reference or spec for IronPython?
>
> I'd like to find information on whether the following is available in
> IronPython (google has been of limited help so far in the following
> searches):
> - conditional
I'm new to IronPyton (and Python in general).
Where can I find a good reference or spec for IronPython?
I'd like to find information on whether the following is available in
IronPython (google has been of limited help so far in the following
searches):
- conditional compilation
- attributes (e.g.