cool-RR / PySnooper

Never use print for debugging again
MIT License
16.34k stars 951 forks source link

Bug: wrong when using #167

Closed CLannadZSY closed 4 years ago

CLannadZSY commented 4 years ago

use print(), can output correctly

Snipaste_2019-10-29_14-49-44

use pysnooper,it wrong

Snipaste_2019-10-29_14-52-51

why?

alexmojaki commented 4 years ago

PySnooper requires () in the decorator, i.e. @pysnooper.snoop(). My version doesn't.

CLannadZSY commented 4 years ago

so sorry, I am too careless.