mirror of
https://github.com/cool-RR/PySnooper.git
synced 2026-01-23 02:14:04 +00:00
Rename for coolness
This commit is contained in:
parent
a0ff31dd8a
commit
b805ea0dc4
6 changed files with 32 additions and 30 deletions
|
|
@ -75,10 +75,10 @@ If stderr is not easily accessible for you, you can redirect the output to a fil
|
|||
|
||||
You can also pass a stream or a callable instead, and they'll be used.
|
||||
|
||||
See values of some variables that aren't local variables:
|
||||
See values of some expressions that aren't local variables:
|
||||
|
||||
```python
|
||||
@pysnooper.snoop(variables=('foo.bar', 'self.whatever'))
|
||||
@pysnooper.snoop(watch=('foo.bar', 'self.x["whatever"]'))
|
||||
```
|
||||
|
||||
Expand values to see all their attributes or items of lists/dictionaries:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue