Skip to content

Commit e79330d

Browse files
style: pre-commit fixes
1 parent 3a395e6 commit e79330d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

include/pybind11/pytypes.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,11 +1640,9 @@ class str : public object {
16401640
str(std::u8string_view s) : str(reinterpret_cast<const char *>(s.data()), s.size()) {}
16411641
# endif
16421642

1643-
16441643
#endif
16451644
// Avoid ambiguity when converting from kwargs (GCC)
1646-
template <typename T,
1647-
detail::enable_if_t<std::is_same<T, kwargs>::value, int> = 0>
1645+
template <typename T, detail::enable_if_t<std::is_same<T, kwargs>::value, int> = 0>
16481646
explicit str(const T &k) : str(static_cast<handle>(k)) {}
16491647

16501648
explicit str(const bytes &b);

0 commit comments

Comments
 (0)