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

DEP: Deprecate the all_triplets one-liner. #7060

Merged
merged 1 commit into from Oct 31, 2023

Conversation

rossbar
Copy link
Contributor

@rossbar rossbar commented Oct 25, 2023

Proposal to remove the triads.all_triplets function, which is simply an alias for itertools.combinations(G, 3).

all_triplets is not even used internally in the triads module, so AFAICT there is no special meaning attached to the term "graph triplets" - please correct me if I'm wrong!

Copy link
Member

@dschult dschult left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot... Funny that even within the module the code uses itertools.combinations instead of this function. :)

@MridulS
Copy link
Member

MridulS commented Oct 27, 2023

Should we wait to merge this till we have made a decision on a 3.2 patch release?

@MridulS MridulS merged commit 754bae3 into networkx:main Oct 31, 2023
37 checks passed
@jarrodmillman jarrodmillman added this to the 3.3 milestone Oct 31, 2023
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

4 participants