mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-01-23 02:14:04 +00:00
Massaging some code
This commit is contained in:
parent
d7d3a80c16
commit
78a539a2a5
3 changed files with 9 additions and 10 deletions
|
|
@ -207,7 +207,9 @@ Exclude specific keys/attributes/indices with the `exclude` parameter, e.g. `Att
|
|||
|
||||
Add a slice after `Indices` to only see the values within that slice, e.g. `Indices('z')[-3:]`.
|
||||
|
||||
`PYSNOOPER_DISABLED` as an environment variable, can be used to activate or deactivate pysnooner. Pysnooper is deactivated by setting the parameter to a non-empty value, and active by default.
|
||||
```console
|
||||
$ export PYSNOOPER_DISABLED=1 # This makes PySnooper not do any snooping
|
||||
```
|
||||
|
||||
# Contribute #
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue