bpo-44032: Move pointer to code object from frame-object to frame specials array. (GH-26771)

This commit is contained in:
Mark Shannon 2021-06-18 11:00:29 +01:00 committed by GitHub
parent 7f01f77f8f
commit 0982ded179
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 59 additions and 41 deletions

View file

@ -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'))