mirror of https://github.com/python/cpython
Fix typo in comment
This commit is contained in:
parent
1b6ca54c44
commit
764cf7ed82
|
@ -205,7 +205,7 @@ class TestBSDDB(unittest.TestCase):
|
||||||
# create iterator
|
# create iterator
|
||||||
i = self.f.iteritems()
|
i = self.f.iteritems()
|
||||||
nc2 = len(self.f._cursor_refs)
|
nc2 = len(self.f._cursor_refs)
|
||||||
# use the iterator (should run to the first yeild, creating the cursor)
|
# use the iterator (should run to the first yield, creating the cursor)
|
||||||
k, v = i.next()
|
k, v = i.next()
|
||||||
nc3 = len(self.f._cursor_refs)
|
nc3 = len(self.f._cursor_refs)
|
||||||
# destroy the iterator; this should cause the weakref callback
|
# destroy the iterator; this should cause the weakref callback
|
||||||
|
|
Loading…
Reference in New Issue