mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
Backed out changeset a8db44ccd0d7
This commit is contained in:
Executable → Regular
+1
-2
@@ -164,8 +164,7 @@ body{counter-reset:h1 6}
|
||||
self.max = max
|
||||
|
||||
<a> def __iter__(self): <span class=u>③</span></a>
|
||||
self.a = 0
|
||||
self.b = 1
|
||||
self.a, self.b = 0, 1
|
||||
return self
|
||||
|
||||
<a> def __next__(self): <span class=u>④</span></a>
|
||||
|
||||
Reference in New Issue
Block a user