Skip to content

Commit

Permalink
Export PyUnicode in Python3 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Larralde authored May 8, 2018
1 parent d445d60 commit 416a7fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objects/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub use self::set::{PySet, PyFrozenSet};
pub use self::stringdata::PyStringData;

#[cfg(Py_3)]
pub use self::string::{PyBytes, PyString};
pub use self::string::{PyBytes, PyString, PyUnicode};

#[cfg(not(Py_3))]
pub use self::string2::{PyBytes, PyString, PyUnicode};
Expand Down

1 comment on commit 416a7fd

@konstin
Copy link
Member

@konstin konstin commented on 416a7fd May 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah thanks I totally missed the pub use PyString as PyUnicode; for python 3.

Please sign in to comment.