Skip to content

Commit

Permalink
Add missing #[cfg(Py_3_6)]
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrunwald committed Dec 10, 2016
1 parent 52c05c6 commit 2b01296
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python3-sys/src/pyerrors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ extern "C" {
-> *mut PyObject;
pub fn PyErr_Format(exception: *mut PyObject,
format: *const c_char, ...) -> *mut PyObject;
#[cfg(Py_3_6)]
pub fn PyErr_SetImportErrorSubclass(
arg1: *mut PyObject, arg2: *mut PyObject,
arg3: *mut PyObject, arg4: *mut PyObject) -> *mut PyObject;
Expand Down

0 comments on commit 2b01296

Please sign in to comment.