mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-01-23 02:14:04 +00:00
Improve docs, fix #84
This commit is contained in:
parent
a9d884a579
commit
89d299f20f
1 changed files with 7 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue