From 89d299f20fc0156919779885323c497badb93b1a Mon Sep 17 00:00:00 2001 From: Ram Rachum Date: Fri, 3 May 2019 21:44:06 +0300 Subject: [PATCH] Improve docs, fix #84 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 5a06d0d..541e232 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,13 @@ Expand values to see all their attributes or items of lists/dictionaries: @pysnooper.snoop(watch_explode=('foo', 'self')) ``` +This will output lines like: + +``` +New var:....... foo.baz = 8 +Modified var:.. foo[2] = 'whatever' +``` + (see [Advanced Usage](#advanced-usage) for more control) Show snoop lines for functions that your function calls: