<div id="comment:0"></div> It should use `SR.symbol()` instead. We also remove some unnecessary uses of `SR` and mark some doctests `# optional - sage.symbolic` (for #32601). CC: @cheuberg @dkrenn @tscrim Component: **combinatorics** Author: **Matthias Koeppe** Branch/Commit: **[`6e49510`](https://github.com/sagemath/sagetrac-mirror/commit/6e4951023f2fbc9e5ad99ef25ea8c67be37ff08d)** Reviewer: **Travis Scrimshaw** _Issue created by migration from https://trac.sagemath.org/ticket/34217_