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

DOC: remove unnecessary 'or' in planted_partition_graph #7115

Merged
merged 2 commits into from Nov 17, 2023

Conversation

DanielEgdal
Copy link
Contributor

No description provided.

@@ -285,7 +285,7 @@ def planted_partition_graph(l, k, p_in, p_out, seed=None, directed=False):
Raises
------
NetworkXError
If p_in,p_out are not in [0,1] or
If p_in,p_out are not in [0,1]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
If p_in,p_out are not in [0,1]
If `p_in`, `p_out` are not in `[0, 1]`

might as well make it a bit more pretty :)

@MridulS MridulS added this to the 3.3 milestone Nov 16, 2023
@MridulS MridulS changed the title remove unnecessary 'or' DOC: remove unnecessary 'or' in planted_partition_graph Nov 16, 2023
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.

:)

@MridulS MridulS merged commit bbdc3f0 into networkx:main Nov 17, 2023
38 checks passed
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

3 participants