core[patch]: Fix typo in docstring (graphm -> graph) (#23910)

Changes has been as per the request
Replaced graphm with graph
This commit is contained in:
G Sreejith 2024-07-05 21:50:33 +05:30 committed by GitHub
parent 12c92b6c19
commit 3c752238c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -246,7 +246,7 @@ class Graph:
return node
def remove_node(self, node: Node) -> None:
"""Remove a node from the graphm and all edges connected to it."""
"""Remove a node from the graph and all edges connected to it."""
self.nodes.pop(node.id)
self.edges = [
edge