Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #64328
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Subject | Re: Documentation of dict views change request |
| Date | 2014-01-19 21:41 +0000 |
| References | <52DC42EB.2010707@earthlink.net> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5729.1390167711.18130.python-list@python.org> (permalink) |
On 19/01/2014 21:26, Charles Hixson wrote: > 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? > Just raise an issue here http://bugs.python.org/ -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Documentation of dict views change request Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-19 21:41 +0000
csiph-web