Skip to content

Commit 643238c

Browse files
committed
fix: drop duplicate translate_exception declaration
Assisted-by: ClaudeCode:claude-fable-5
1 parent 296b813 commit 643238c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/pybind11/detail/internals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ bool handle_nested_exception(const T &exc, const std::exception_ptr &p) {
527527

528528
bool raise_err(PyObject *exc_type, const char *msg);
529529

530-
void translate_exception(std::exception_ptr p);
530+
// translate_exception is forward-declared near the top of this header
531531

532532
#if !defined(__GLIBCXX__)
533533
void translate_local_exception(std::exception_ptr p);

0 commit comments

Comments
 (0)