diff options
author | Matthew Sotoudeh <matthew@masot.net> | 2023-07-27 15:25:03 -0700 |
---|---|---|
committer | Matthew Sotoudeh <matthew@masot.net> | 2023-07-27 15:25:03 -0700 |
commit | 678b0d4a2ec15db0735d08ebafec55605ce0a688 (patch) | |
tree | ed803fed879a262bbf7382df074f1e999b9e9469 /python/examples/refcounting | |
parent | 6f645bed54bd328d8a4075aad498892b0164c713 (diff) |
simplify refcounting
Diffstat (limited to 'python/examples/refcounting')
-rwxr-xr-x | python/examples/refcounting/dietpass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/python/examples/refcounting/dietpass b/python/examples/refcounting/dietpass index 9d6a77f..37f44c4 100755 --- a/python/examples/refcounting/dietpass +++ b/python/examples/refcounting/dietpass @@ -71,8 +71,6 @@ def ptr_exprs(name, ty): for i in range(int(ty.length)): result.extend(ptr_exprs(f"(({name})[{i}])", ty.base)) return result - else: - print(ty.classify(), file=sys.stderr) - raise NotImplementedError + else: raise NotImplementedError main() |