Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convenience wrappers for show_backref_chain(obj, inspect.ismodule) #3

Open
mgedmin opened this issue Nov 21, 2013 · 1 comment
Open

Comments

@mgedmin
Copy link
Owner

mgedmin commented Nov 21, 2013

Using objgraph.show_chain(objgraph.find_backref_chain(...)) is a lot of typing. Provide convenience wrappers.

@mgedmin
Copy link
Owner Author

mgedmin commented Mar 3, 2015

One of the goals of #5 is to make queries like this fall out naturally from the new-and-improved API design. Hmm.

>>> g = objgraph.why_alive(obj)
>>> g.show()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant