Skip to content

Commit

Permalink
#33255: trailing whitespaces in bipartite_graph.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoudert committed Feb 15, 2023
1 parent 05bff63 commit d3618f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/graphs/bipartite_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def __hash__(self):
use_labels = self._use_labels_for_hash()
edge_items = self.edge_iterator(labels=use_labels)
if self.allows_multiple_edges():
from collections import Counter
from collections import Counter
edge_items = Counter(edge_items).items()
return hash((frozenset(self.left), frozenset(self.right), frozenset(edge_items)))

Expand Down

0 comments on commit d3618f1

Please sign in to comment.