We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Often I compute the collection of strongly connected components of a snapshot just to extract the SCC of a particular object:
snapshot = refcycle.snapshot() scc = next(scc for scc in snapshot.strongly_connected_components() if object_of_interest in scc)
It would be great to be able to write scc = snapshot.scc_containing(object_of_interest) instead.
scc = snapshot.scc_containing(object_of_interest)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Often I compute the collection of strongly connected components of a snapshot just to extract the SCC of a particular object:
It would be great to be able to write
scc = snapshot.scc_containing(object_of_interest)
instead.The text was updated successfully, but these errors were encountered: