We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29ee094 commit f2261f1Copy full SHA for f2261f1
include/pybind11/detail/type_caster_base.h
@@ -1006,10 +1006,11 @@ class type_caster_base : public type_caster_generic {
1006
static Constructor make_move_constructor(...) { return nullptr; }
1007
};
1008
1009
-PYBIND11_NOINLINE std::string type_info_description(const std::type_info& ti) {
+PYBIND11_NOINLINE std::string type_info_description(const std::type_info &ti) {
1010
if (auto *type_data = get_type_info(ti)) {
1011
handle th((PyObject *) type_data->type);
1012
- return th.attr("__module__").cast<std::string>() + '.' + th.attr("__qualname__").cast<std::string>();
+ return th.attr("__module__").cast<std::string>() + '.'
1013
+ + th.attr("__qualname__").cast<std::string>();
1014
} else {
1015
return clean_type_id(ti.name());
1016
}
0 commit comments