mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
bpo-44032: Move pointer to code object from frame-object to frame specials array. (GH-26771)
This commit is contained in:
parent
7f01f77f8f
commit
0982ded179
6 changed files with 59 additions and 41 deletions
|
@ -1275,7 +1275,7 @@ class SizeofTest(unittest.TestCase):
|
|||
# frame
|
||||
import inspect
|
||||
x = inspect.currentframe()
|
||||
check(x, size('5P3i4cP'))
|
||||
check(x, size('4P3i4cP'))
|
||||
# function
|
||||
def func(): pass
|
||||
check(func, size('14P'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue