Unverified Commit b06a6f4f authored by Henry Schreiner's avatar Henry Schreiner Committed by GitHub
Browse files

feat: Slice allowing None with py::object or std::optional (#1101)

* Adding nullptr slices

Using example from #1095

Some fixes from @wjakob's review

Stop clang-tidy from complaining

New proposal for py::slice constructor

Eric's suggested changes: simplify testing; shift def's

* chore: drop MSVC pragma (hopefully unneeded)

* Apply suggestions from code review
parent 0fb981b2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment