mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
more validation typos
This commit is contained in:
@@ -509,7 +509,7 @@ rules = LazyRules()</code></pre>
|
||||
|
||||
<p>Moving backwards…
|
||||
|
||||
<pre><code><a> def __next__(self):
|
||||
<pre><code> def __next__(self):
|
||||
.
|
||||
.
|
||||
.
|
||||
@@ -528,7 +528,7 @@ rules = LazyRules()</code></pre>
|
||||
|
||||
<p>Moving backwards all the way to the start of the <code>__next__()</code> method…
|
||||
|
||||
<pre><code><a> def __next__(self):
|
||||
<pre><code> def __next__(self):
|
||||
self.cache_index += 1
|
||||
if len(self.cache) >= self.cache_index:
|
||||
<a> return self.cache[self.cache_index - 1] <span>①</span></a>
|
||||
|
||||
Reference in New Issue
Block a user