Fix build with stable rust.

This commit is contained in:
Daniel Grunwald 2016-05-05 07:48:29 +02:00
parent 9ab3e9ea4e
commit 3d99a4ac3c
1 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,11 @@ pub use self::object::PyObject;
pub use self::typeobject::PyType;
pub use self::module::PyModule;
pub use self::string::{PyBytes, PyString, PyUnicode, PyStringData};
pub use self::string::{PyBytes, PyString, PyStringData};
#[cfg(feature="python27-sys")]
pub use self::string::PyUnicode;
#[cfg(feature="python3-sys")]
pub use self::string::PyString as PyUnicode;
pub use self::iterator::PyIterator;
pub use self::boolobject::PyBool;