gaogaotiantian / objprint

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

op(Exception()) prints nothing. #79

Closed CokeStudios closed 1 year ago

CokeStudios commented 2 years ago

op(an error class) prints nothing.

print(op(Exception()))

op(Exception())

Exception()

gaogaotiantian commented 1 year ago

This matches the print behavior, so not a bug.

>>> print(Exception())

>>>