mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-18 08:55:57 +00:00
Copy attr
comment for const char *
overload, for consistency.
This commit is contained in:
parent
8f87e21291
commit
e6b1370085
@ -120,6 +120,7 @@ public:
|
||||
\endrst */
|
||||
template <typename T>
|
||||
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 <typename T>
|
||||
str_attr_accessor attr_with_type_hint(const char *key) const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user