Python Documentation Improvement
breamoreboy at yahoo.co.uk
Tue Nov 25 13:22:30 CET 2014
On 25/11/2014 11:44, Archana Pandey wrote:
> I hereby would like to share the problem I have faced regarding python
> list implementation :-
> As per python documentation python list is mutable data object.
> The problem I found with the list is that is behaves differently when we
> use ‘+=’ and ‘+’ ‘=’ operators separately.
> For example-
> A = a + 1 and a += 1 both behave in same way for all data types except
> python Lists
> Please find the attached module and execute it on windows python32, See
> the difference in output.
> NOTE: Documentation should provide sufficient information for such scenario.
Patches are always welcome on the bug tracker. I observe that you
already know the way :)
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
More information about the Python-list