Ben Finney-10 wrote
> 
> Mateusz Loskot <mateusz@> writes:
> 
>> So, the following
>>
>> import xyz
>> print(xyz.flag)  # OK
>> xyz.flag = 0    # error due to no write access
> 
> PEP 8 <URL:http://www.python.org/dev/peps/pep-0008/> gives the style
> guide for Python code (strictly for the standard library, but it is
> recommended for all Python code).
> 

Ben,

That's what I thought really.
Thank you for confirming the sanity of the style-powered conventions.

Best regards,

-----
-- 
Mateusz Loskot
http://mateusz.loskot.net
--
View this message in context: 
http://python.6.n6.nabble.com/Read-only-attribute-in-module-tp4378950p4380150.html
Sent from the Python - python-list mailing list archive at Nabble.com.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to