Skip to content

Commit

Permalink
sagemathgh-39317: add parameter immutable to all methods in `sage/gra…
Browse files Browse the repository at this point in the history
…phs/generators/basic.py`

    
Following discussions in sagemath#39177, we add parameter `immutable` to all
methods in `sage/graphs/generators/basic.py`.
We also add parameter `name` to some methods to ease constructions.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#39317
Reported by: David Coudert
Reviewer(s): Dima Pasechnik
  • Loading branch information
Release Manager committed Jan 25, 2025
2 parents 4915dce + 85c5cbf commit 6a5d2ec
Showing 1 changed file with 471 additions and 130 deletions.
Loading

0 comments on commit 6a5d2ec

Please sign in to comment.