Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #64326
| Date | 2014-01-19 13:26 -0800 |
|---|---|
| From | Charles Hixson <charleshixsn@earthlink.net> |
| Subject | Documentation of dict views change request |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5728.1390166846.18130.python-list@python.org> (permalink) |
Could it please be clearly documented that keys(), values(), and items() are not writeable. I agree that this is how they should be, but it would be still better if they were clearly documented as such. The labeling of them as dynamic, while true, was a bit confusing here. (I.e., it was talking about changing their value through other means of access rather than directly through the returned values.) P.S.: Is it reasonable to return the items() of a dict in order to pass a read only copy of the values? -- Charles Hixson
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Documentation of dict views change request Charles Hixson <charleshixsn@earthlink.net> - 2014-01-19 13:26 -0800
Re: Documentation of dict views change request Roy Smith <roy@panix.com> - 2014-01-20 03:10 +0530
Re: Documentation of dict views change request Chris Angelico <rosuav@gmail.com> - 2014-01-20 08:56 +1100
csiph-web