Fix use order in prelude
This commit is contained in:
parent
67a98d6c4a
commit
ab0a731e5e
|
@ -15,10 +15,10 @@ pub use crate::gil::GILGuard;
|
|||
pub use crate::instance::{AsPyRef, Py};
|
||||
pub use crate::object::PyObject;
|
||||
pub use crate::objectprotocol::ObjectProtocol;
|
||||
pub use crate::pyclass_init::PyClassInitializer;
|
||||
pub use crate::python::Python;
|
||||
pub use crate::{FromPy, FromPyObject, IntoPy, IntoPyPointer, PyTryFrom, PyTryInto, ToPyObject};
|
||||
// This is only part of the prelude because we need it for the pymodule function
|
||||
pub use crate::pyclass_init::PyClassInitializer;
|
||||
pub use crate::types::PyModule;
|
||||
pub use pyo3cls::pymodule;
|
||||
pub use pyo3cls::{pyclass, pyfunction, pymethods, pyproto};
|
||||
|
|
Loading…
Reference in a new issue