mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +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(
|
||||
std::string, // Return type (ret_type)
|
||||
Animal, // Parent class (cname)
|
||||
toString, // Name of function in C++ (name)
|
||||
"__str__", // Name of method in Python (fn)
|
||||
"__str__", // Name of method in Python (name)
|
||||
toString, // Name of function in C++ (fn)
|
||||
);
|
||||
}
|
||||
\endrst */
|
||||
|
Loading…
Reference in New Issue
Block a user