Merge pull request #118 from althonos/patch-1

Fix wrong macro being tagged with `macro_export`
This commit is contained in:
Nikolay Kim 2018-02-21 14:25:37 -08:00 committed by GitHub
commit 25514f69da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ macro_rules! dot_stringify {
/// py.run("import socket; assert gaierror is socket.gaierror", None, Some(ctx)).unwrap();
/// }
/// ```
#[macro_export]
macro_rules! import_exception {
($($module:ident).+ , $name: ident) => {
#[allow(non_camel_case_types)]