From 3b2e6da16e2ed9877a6a9c4516e752e714619397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 7 Jul 2019 17:34:19 +0200 Subject: [PATCH] Iterable duck types --- README.md | 2 +- index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86ea239..46a02b1 100644 --- a/README.md +++ b/README.md @@ -1172,7 +1172,7 @@ Iterable Duck Types ------------------- ### Iterable -* **Only required method is iter(). It should return an iterator of its contents.** +* **Only required method is iter(). It should return an iterator of object's items.** * **Contains() automatically works on any object that has iter() defined.** ```python class MyIterable: diff --git a/index.html b/index.html index 1f80ea9..bd4bb26 100644 --- a/index.html +++ b/index.html @@ -1087,7 +1087,7 @@ con = sqlite3.connect('<path>'); #Iterable Duck Types

Iterable

class MyIterable: