mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
Fix docs typo
This commit is contained in:
parent
e107fc2a05
commit
d96c34516d
@ -2152,8 +2152,8 @@ template <class T> function get_overload(const T *this_ptr, const char *name) {
|
|||||||
PYBIND11_OVERLOAD_NAME(
|
PYBIND11_OVERLOAD_NAME(
|
||||||
std::string, // Return type (ret_type)
|
std::string, // Return type (ret_type)
|
||||||
Animal, // Parent class (cname)
|
Animal, // Parent class (cname)
|
||||||
toString, // Name of function in C++ (name)
|
"__str__", // Name of method in Python (name)
|
||||||
"__str__", // Name of method in Python (fn)
|
toString, // Name of function in C++ (fn)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
\endrst */
|
\endrst */
|
||||||
|
Loading…
Reference in New Issue
Block a user