Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Aug 27, 2024
1 parent 7f6684a commit 4c66dac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion include/pybind11/detail/exception_translation.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ inline bool apply_exception_translators(std::forward_list<ExceptionTranslator> &
return false;
}


inline void try_translate_exceptions() {
/* When an exception is caught, give each registered exception
translator a chance to translate it to a Python exception. First
Expand Down
3 changes: 1 addition & 2 deletions include/pybind11/pybind11.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
*/

#pragma once
#include "detail/exception_translation.h"

#include "detail/class.h"
#include "detail/exception_translation.h"
#include "detail/init.h"
#include "attr.h"
#include "gil.h"
Expand Down

0 comments on commit 4c66dac

Please sign in to comment.