Skip to content

Commit 3cae4cb

Browse files
Name corrected in error on last __getitem__ code
1 parent 4813c2e commit 3cae4cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Without the ``__getitem__`` method we would have got this error:
211211

212212
.. code:: python
213213
214-
>>> foo['title']
214+
>>> foo['name']
215215
216216
Traceback (most recent call last):
217217
File "<stdin>", line 1, in <module>

0 commit comments

Comments
 (0)