mirror of
https://github.com/python/cpython.git
synced 2025-10-14 18:59:46 +00:00
Issue 23261: Clean-up the hack to store the set.pop() search finger in a hash field instead of the setobject.
This commit is contained in:
parent
a556af77a7
commit
1202a4733e
3 changed files with 15 additions and 25 deletions
|
@ -994,7 +994,7 @@ class SizeofTest(unittest.TestCase):
|
|||
# frozenset
|
||||
PySet_MINSIZE = 8
|
||||
samples = [[], range(10), range(50)]
|
||||
s = size('3n2P' + PySet_MINSIZE*'nP' + 'nP')
|
||||
s = size('3n2P' + PySet_MINSIZE*'nP' + '2nP')
|
||||
for sample in samples:
|
||||
minused = len(sample)
|
||||
if minused == 0: tmp = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue