[docs] [issue20135] FAQ need list mutation answers
Francis MB
report at bugs.python.org
Sun Aug 3 18:31:43 CEST 2014
Francis MB added the comment:
A) On the example:
+Also note that some operations (e.g. ``y.append(10)``/``y += [10]`` or
+``y.sort()``) mutate
are you saying:
1) "y.append(10)" divided by "y += [10]" or
2) "y.append(10)" and "y += [10]"
I don't want to split hairs but reading it fast confused me a bit
B) The paragraph:
+ etc.), we can use some specific operations to mutate it and all the variables
+ that refer to it will see
+ the change;
Couldn't be (one newline less):
+ etc.), we can use some specific operations to mutate it and all the variables
+ that refer to it will see the change;
----------
nosy: +francismb
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20135>
_______________________________________
More information about the docs
mailing list