File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -199,12 +199,12 @@ sure you read the official documentation after reading this.
199199``namedtuple ``
200200^^^^^^^^^^^^^^^^^^
201201
202- You might already be acquainted with tuples. A tuple is a lightweight
203- object type which allows to store a sequence of immutable Python
204- objects . They are just like lists but have a few key differences. The
205- major one is that unlike lists, **you can not change a value in a
206- tuple **. In order to access the value in a tuple you use integer indexes
207- like:
202+ You might already be acquainted with tuples. A tuple is basically
203+ a immutable list which allows you to store a sequence of values
204+ separated by commas . They are just like lists but have a few key
205+ differences. The major one is that unlike lists, **you can not
206+ reassign an item in a tuple **. In order to access the value in a
207+ tuple you use integer indexes like:
208208
209209.. code :: python
210210
You can’t perform that action at this time.
0 commit comments