Commit d96c3451 by methylDragon Committed by Wenzel Jakob

Fix docs typo

parent e107fc2a
...@@ -2152,8 +2152,8 @@ template <class T> function get_overload(const T *this_ptr, const char *name) { ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment