test_sequences_and_iterators.cpp
16.5 KB
-
feat: Slice allowing None with py::object or std::optional (#1101) · b06a6f4f
* 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
Henry Schreiner committed