Documentation of dict views change request
Mark Lawrence
breamoreboy at yahoo.co.uk
Sun Jan 19 16:41:25 EST 2014
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
More information about the Python-list
mailing list