From 87781a0ff9847cc0062e04e441fab0ce012c5dec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 9 Jul 2019 22:52:02 +0200 Subject: [PATCH] Duck types --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b74355a..d14d6d3 100644 --- a/README.md +++ b/README.md @@ -1101,7 +1101,7 @@ class MySortable: ``` ### Iterator -* **Next() should return next item or raise 'StopIteration'.** +* **Next() should return the next item or raise 'StopIteration'.** * **Iter() should return 'self'.** ```python class Counter: diff --git a/index.html b/index.html index f28132d..2306379 100644 --- a/index.html +++ b/index.html @@ -1035,7 +1035,7 @@ Z = dataclasses.make_dataclass('Z', [

Iterator

class Counter: