Skip to content

Update general_k_edge_subgraphs docstring. - #7254

Merged
dschult merged 1 commit into
networkx:mainfrom
rossbar:doc/k-edge-subraphs
Jan 30, 2024
Merged

dschult merged 1 commit into
networkx:mainfrom
rossbar:doc/k-edge-subraphs

Conversation

@rossbar

@rossbar rossbar commented Jan 29, 2024

Copy link
Copy Markdown
Contributor

Minor updates to docstring:

  • Adds a parameters section
  • Returns -> Yields and update wording to clarify that graphs are yielded, not node sets
  • Fix format of links to references
  • Update example to use comprehension instead of map

Closes #7253

@dschult dschult left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM :}

@dschult
dschult merged commit 30ac795 into networkx:main Jan 30, 2024
@jarrodmillman jarrodmillman added this to the 3.3 milestone Jan 30, 2024
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.

Return type of general_k_edge_subgraphs is incorrect in docstring

3 participants