Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20087
| Date | 2012-02-09 08:44 -0800 |
|---|---|
| From | mloskot <mateusz@loskot.net> |
| References | <CABUeae_vv=THd0VLsAteEKu7z8U2KA4p+vK1a=nAeMSKzM-L7g@mail.gmail.com> <878vkc426c.fsf@benfinney.id.au> |
| Subject | Re: Read-only attribute in module |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5598.1328805883.27778.python-list@python.org> (permalink) |
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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Read-only attribute in module Mateusz Loskot <mateusz@loskot.net> - 2012-02-09 11:43 +0000
Re: Read-only attribute in module Ben Finney <ben+python@benfinney.id.au> - 2012-02-09 23:32 +1100
Re: Read-only attribute in module mloskot <mateusz@loskot.net> - 2012-02-09 08:44 -0800
Re: Read-only attribute in module Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-10 01:04 +0000
Re: Read-only attribute in module Terry Reedy <tjreedy@udel.edu> - 2012-02-09 22:27 -0500
Re: Read-only attribute in module Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-10 22:23 +0000
Re: Read-only attribute in module Arnaud Delobelle <arnodel@gmail.com> - 2012-02-10 10:09 +0000
csiph-web