Closed tddschn closed 2 years ago
pdir's output is supposed to be viewed by human, so I'd say this is expected behavior. Still, could you elaborate a bit why you want to call rich.inspect
on a PrettyDir
object?
Sometimes I inspect an object with rich.inspect
to see the property / attributes (with docstrings) and methods (including signatures and docstrings), since it's faster than finding and reading the docs to get what I want. :)
might be resolved by #67
The behavior was encountered when using
rich.inspect
on aPrettyDir
object, although unexpected, might not be a bug.To reproduce the error, run
Screenshot of output:
Other info