From e6b1370085655b0e8bf993c85217b5c9e43b5594 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Fri, 20 Dec 2024 17:30:43 -0800 Subject: [PATCH] Copy `attr` comment for `const char *` overload, for consistency. --- include/pybind11/pytypes.h | 1 + 1 file changed, 1 insertion(+) 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;