"vscode:/vscode.git/clone" did not exist on "54fa191f20b51332b8620c19f3b75e4c62f4dec9"
pybind11_getbuffer: useless safe nullptr check (#1664)
Alternative implementation for #1657: if we know that `obj` is never a `nullptr` [1], we should not `nullptr`-check it *after* already dereferencing it. [1] https://github.com/pybind/pybind11/pull/1657#issuecomment-452090058
Showing
Please register or sign in to comment