From 8dd47f2f0309e87aee8e78721a769892b239153e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sun, 7 Jul 2019 17:33:00 +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 10e7f96..86ea239 100644 --- a/README.md +++ b/README.md @@ -1172,7 +1172,7 @@ Iterable Duck Types ------------------- ### Iterable -* **Only required method for iterable is iter(). It should return an iterator of its contents.** +* **Only required method is iter(). It should return an iterator of its contents.** * **Contains() automatically works on any object that has iter() defined.** ```python class MyIterable: diff --git a/index.html b/index.html index 220de28..1f80ea9 100644 --- a/index.html +++ b/index.html @@ -1087,7 +1087,7 @@ con = sqlite3.connect('<path>'); #Iterable Duck Types

Iterable

class MyIterable: