diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2025-04-30 12:19:20 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-30 18:19:20 +0000 |
commit | 94b4fcd806e7b692955173d309ea3b70a193ad96 (patch) | |
tree | e1ac874a97b3fca6f0ff763b1dd5eaaf9c4fca47 /Lib/test/test_optparse.py | |
parent | 26c0248b54b6b2a5df51dd3da8c0ebb1b2958bc4 (diff) | |
download | cpython-94b4fcd806e7b692955173d309ea3b70a193ad96.tar.gz cpython-94b4fcd806e7b692955173d309ea3b70a193ad96.zip |
gh-132775: Add _PyCode_GetVarCounts() (gh-133128)
This helper is useful in a variety of ways, including in demonstrating how the different counts relate to one another.
It will be used in a later change to help identify if a function is "stateless", meaning it doesn't have any free vars or globals.
Note that a majority of this change is tests.
Diffstat (limited to 'Lib/test/test_optparse.py')
0 files changed, 0 insertions, 0 deletions