Skip to content

Commit 50f50c6

Browse files
erinwildyasoob
authored andcommitted
Fix typos in output of getitem example (yasoob#170)
1 parent a5102f1 commit 50f50c6

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
@@ -205,7 +205,7 @@ Implementing **getitem** in a class allows its instances to use the []
205205
# Output: 'Yasoob'
206206
207207
foo['number']
208-
# Output: 36845124
208+
# Output: 12345812
209209
210210
Without the ``__getitem__`` method we would have got this error:
211211

0 commit comments

Comments
 (0)