type of void fixed (None -> NoneType)

This commit is contained in:
Wenzel Jakob
2016-01-17 22:36:38 +01:00
parent 56e9f4942b
commit 82ffd40870
3 changed files with 6 additions and 6 deletions

View File

@@ -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> { };