Skip to content

Commit ba4976f

Browse files
committed
fixup! Prepend all overload signatures to docstrings
1 parent 6bdf01a commit ba4976f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/pybind11.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ class cpp_function : public function {
551551
/* Create a nice pydoc rec including all signatures and
552552
docstrings of the functions in the overload chain */
553553
if (chain) {
554-
for (auto it = chain_start; it != nullptr; it = it->next) {
554+
for (auto *it = chain_start; it != nullptr; it = it->next) {
555555
signatures += rec->name;
556556
signatures += it->signature;
557557
signatures += "\n";

0 commit comments

Comments
 (0)