File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1262,7 +1262,7 @@ class MyCollection:
1262
1262
```
1263
1263
1264
1264
### Sequence
1265
- * ** Only required methods are len () and getitem ().**
1265
+ * ** Only required methods are getitem () and len ().**
1266
1266
* ** Getitem() should return an item at the passed index or raise IndexError.**
1267
1267
* ** Iter() and contains() automatically work on any object that has getitem() defined.**
1268
1268
* ** Reversed() automatically works on any object that has getitem() and len() defined.**
Original file line number Diff line number Diff line change 1081
1081
1082
1082
1083
1083
< div > < h3 id ="sequence "> Sequence</ h3 > < ul >
1084
- < li > < strong > Only required methods are len () and getitem ().</ strong > </ li >
1084
+ < li > < strong > Only required methods are getitem () and len ().</ strong > </ li >
1085
1085
< li > < strong > Getitem() should return an item at the passed index or raise IndexError.</ strong > </ li >
1086
1086
< li > < strong > Iter() and contains() automatically work on any object that has getitem() defined.</ strong > </ li >
1087
1087
< li > < strong > Reversed() automatically works on any object that has getitem() and len() defined.</ strong > </ li >
You can’t perform that action at this time.
0 commit comments