mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
parent
00d584da97
commit
218b6ce246
@ -303,11 +303,7 @@ protected:
|
||||
signatures += "\n";
|
||||
if (it->doc && strlen(it->doc) > 0) {
|
||||
signatures += "\n";
|
||||
std::string str = it->doc;
|
||||
size_t first = str.find_first_not_of(" \n\t\r");
|
||||
size_t last = str.find_last_not_of(" \n\t\r");
|
||||
if (first != std::string::npos)
|
||||
signatures += str.substr(first, last - first + 1);
|
||||
signatures += it->doc;
|
||||
signatures += "\n";
|
||||
}
|
||||
if (it->next)
|
||||
|
Loading…
Reference in New Issue
Block a user