gaogaotiantian / objprint

A library that can print Python objects in human readable format
Apache License 2.0
519 stars 43 forks source link

Detect repl for returning objects #73

Closed gaogaotiantian closed 1 year ago

gaogaotiantian commented 2 years ago

Now op() returns the object it prints to make calling chain possible. But in repl, that will print two instances. We should fix that for a better user experience.