mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-21 13:30:26 +00:00
type of void fixed (None -> NoneType)
This commit is contained in:
@@ -235,7 +235,7 @@ public:
|
||||
Py_INCREF(Py_None);
|
||||
return Py_None;
|
||||
}
|
||||
PYBIND11_TYPE_CASTER(void_type, _("None"));
|
||||
PYBIND11_TYPE_CASTER(void_type, _("NoneType"));
|
||||
};
|
||||
|
||||
template <> class type_caster<void> : public type_caster<void_type> { };
|
||||
|
||||
Reference in New Issue
Block a user