Skip to content

Commit

Permalink
Merge pull request PyO3#324 from athre0z/add-crate-prefix
Browse files Browse the repository at this point in the history
Add $crate:: prefix in create_exception!
  • Loading branch information
konstin authored Jan 14, 2019
2 parents 8145841 + 262b708 commit f9baa70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/exceptions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ macro_rules! create_exception {
#[allow(non_camel_case_types)] // E.g. `socket.herror`
pub struct $name;

impl_exception_boilerplate!($name);
$crate::impl_exception_boilerplate!($name);

create_exception_type_object!($module, $name, $base);
$crate::create_exception_type_object!($module, $name, $base);
};
}

Expand Down

0 comments on commit f9baa70

Please sign in to comment.