From ced3028efb7442e3580a9028ec6157d4e7ff44a1 Mon Sep 17 00:00:00 2001 From: Saurabh Pujari Date: Fri, 12 Apr 2024 20:30:03 +0530 Subject: [PATCH] update readme.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 874fa98..58ce4c0 100644 --- a/README.rst +++ b/README.rst @@ -7,7 +7,7 @@ View the `Github repository `__ and th How does it work? ------------------- +~~~~~~~~~~~~~~~~~~ The `constable.trace` decorator uses Python's Abstract Syntax Tree (AST) in much the same way we add `print`(s) to debug states. During runtime, it prepares and inserts `print` statements into the function's AST after every assignment operation (`ast.Assign`, `ast.AugAssign` and `ast.AnnAssign`), and then executes the modified code in a separate namespace with `exec`.