Roman Yakovenko wrote:
> data.add_property( "count", count, set_count )
>
Should it be possible to leave out the 'set' function to make a
read-only property? When I tried something like:
data.add_property( "count", count )
I got:
File "C:\Program
Files\Python\lib\site-packages\pyplusplus\code_creators\properties.py",
line 56, in has_long_line
elif pd.fset or pd.fset.call_policies or not
pd.fset.call_policies.is_default():
AttributeError: 'NoneType' object has no attribute 'call_policies'
Thanks,
--- Kevin
|