summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpython/examples/refcounting/dietpass4
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()
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback