From 27d79e6d04d3247c973c04714b65411afb5fd971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 12 Sep 2019 03:25:17 +0200 Subject: [PATCH] MyIterable --- README.md | 6 +++--- index.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7cf72c9..2f93914 100644 --- a/README.md +++ b/README.md @@ -1204,10 +1204,10 @@ class MyIterable: ``` ```python ->>> a = MyIterable([1, 2, 3]) ->>> iter(a) +>>> z = MyIterable([1, 2, 3]) +>>> iter(z) ->>> 1 in a +>>> 1 in z True ``` diff --git a/index.html b/index.html index 3209d86..c75705e 100644 --- a/index.html +++ b/index.html @@ -1135,10 +1135,10 @@ lock = threading.RLock(); with lock: ... -
>>> a = MyIterable([1, 2, 3])
->>> iter(a)
+
>>> z = MyIterable([1, 2, 3])
+>>> iter(z)
 <generator object MyIterable.__iter__ at 0x1026c18b8>
->>> 1 in a
+>>> 1 in z
 True
 

Collection