diff --git a/include/pybind11/pytypes.h b/include/pybind11/pytypes.h index 3d43c83dd..92e0a81f4 100644 --- a/include/pybind11/pytypes.h +++ b/include/pybind11/pytypes.h @@ -120,6 +120,7 @@ public: \endrst */ template obj_attr_accessor attr_with_type_hint(handle key) const; + /// See above (the only difference is that the key is provided as a string literal) template str_attr_accessor attr_with_type_hint(const char *key) const;