mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
style: pre-commit fixes
This commit is contained in:
parent
efbd12c6a5
commit
655708f434
@ -2011,7 +2011,7 @@ inline str enum_name(handle arg) {
|
|||||||
struct enum_base {
|
struct enum_base {
|
||||||
enum_base(const handle &base, const handle &parent) : m_base(base), m_parent(parent) {}
|
enum_base(const handle &base, const handle &parent) : m_base(base), m_parent(parent) {}
|
||||||
|
|
||||||
template<bool is_arithmetic, bool is_convertible>
|
template <bool is_arithmetic, bool is_convertible>
|
||||||
PYBIND11_NOINLINE void init() {
|
PYBIND11_NOINLINE void init() {
|
||||||
m_base.attr("__entries") = dict();
|
m_base.attr("__entries") = dict();
|
||||||
auto property = handle((PyObject *) &PyProperty_Type);
|
auto property = handle((PyObject *) &PyProperty_Type);
|
||||||
|
Loading…
Reference in New Issue
Block a user