mirror of
https://github.com/pybind/pybind11.git
synced 2025-03-12 07:49:28 +00:00
style: pre-commit fixes
This commit is contained in:
parent
1582971925
commit
fe04344bb0
@ -113,11 +113,11 @@ public:
|
||||
/// See above (the only difference is that the key is provided as a string literal)
|
||||
str_attr_accessor attr(const char *key) const;
|
||||
|
||||
/** \rst
|
||||
/** \rst
|
||||
Similar to the above attr functions with the difference that the templated Type
|
||||
is used to set the `__annotations__` dict value to the corresponding key. Worth nothing that
|
||||
attr_with_type_hint is implemented in cast.h
|
||||
\endrst */
|
||||
is used to set the `__annotations__` dict value to the corresponding key. Worth nothing
|
||||
that attr_with_type_hint is implemented in cast.h
|
||||
\endrst */
|
||||
template <typename T>
|
||||
obj_attr_accessor attr_with_type_hint(handle key) const;
|
||||
template <typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user