diff --git a/README.md b/README.md index c27ca96..4c9d279 100644 --- a/README.md +++ b/README.md @@ -1206,7 +1206,8 @@ class MyCollection: ### Sequence * **Only required methods are len() and getitem().** -* **Iter(), contains() and reversed() automatically work on any object that has getitem() defined.** +* **Iter() and contains() automatically work on any object that has getitem() defined.** +* **Reversed() automatically works on any object that has getitem() and len() defined.** ```python class MySequence: def __init__(self, a): diff --git a/index.html b/index.html index 3a1e3b3..0bce2f6 100644 --- a/index.html +++ b/index.html @@ -1121,7 +1121,8 @@ lock = threading.RLock(); with lock: ...

Sequence

class MySequence:
     def __init__(self, a):