Add missing #[cfg(Py_3_6)]

This commit is contained in:
Daniel Grunwald 2016-12-10 12:37:33 +01:00
parent 52c05c6bac
commit 2b012968ec

View file

@ -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;