We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sage: G = Graph([('a', 1), (1, 2), (2, 3)], immutable=True) sage: type(G._backend) <class 'sage.graphs.base.static_sparse_backend.StaticSparseBackend'>
sage: G.delete_vertex(1) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) ... ValueError: graph is immutable; please change a copy instead (use function copy()) sage: G.delete_vertex('a') --------------------------------------------------------------------------- TypeError Traceback (most recent call last) ... ValueError: graph is immutable; please change a copy instead (use function copy())
sage: G.delete_vertex(1) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) ... ValueError: graph is immutable; please change a copy instead (use function copy()) sage: G.delete_vertex('a') --------------------------------------------------------------------------- TypeError Traceback (most recent call last) ... TypeError: an integer is required
No response
The text was updated successfully, but these errors were encountered:
fix issue sagemath#39270
1e32894
Successfully merging a pull request may close this issue.
Steps To Reproduce
Expected Behavior
Actual Behavior
Additional Information
No response
Environment
Checklist
The text was updated successfully, but these errors were encountered: