style: pre-commit fixes

This commit is contained in:
pre-commit-ci[bot] 2024-12-20 22:23:15 +00:00
parent 1582971925
commit fe04344bb0

View File

@ -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>