From 678b0d4a2ec15db0735d08ebafec55605ce0a688 Mon Sep 17 00:00:00 2001 From: Matthew Sotoudeh Date: Thu, 27 Jul 2023 15:25:03 -0700 Subject: simplify refcounting --- python/examples/refcounting/dietpass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'python/examples/refcounting') 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() -- cgit v1.2.3