-
-
Notifications
You must be signed in to change notification settings - Fork 628
add parameter immutable to methods in src/sage/graphs/graph_list.py
#39924
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
add parameter immutable to methods in src/sage/graphs/graph_list.py
#39924
Conversation
Documentation preview for this PR (built with commit b49a240; changes) is ready! 🎉 |
src/sage/graphs/graph_list.py
src/sage/graphs/graph_list.py
Outdated
@@ -152,8 +188,15 @@ def from_sparse6(data): | |||
sage: g2 += 'BA@XCs\\NggWSOJIDbHh@?A@aF' | |||
sage: graphs_list.from_sparse6([g1, g2]) | |||
[Looped multi-graph on 17 vertices, Looped multi-graph on 39 vertices] | |||
|
|||
Check the bahavior of parameter ``immutable``:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
behaviour (here and twice else)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, feu vert
Following discussions in #39177, we add the option to return immutable graphs in
src/sage/graphs/graph_list.py
.📝 Checklist
⌛ Dependencies