fix pyo3-ffi beta clippy warnings

This commit is contained in:
David Hewitt 2023-11-26 10:23:39 +00:00
parent 8e5ef9058b
commit 41842f9e4b

View file

@ -31,7 +31,6 @@ pub(crate) mod pystate;
pub(crate) mod pythonrun; pub(crate) mod pythonrun;
// skipped sysmodule.h // skipped sysmodule.h
pub(crate) mod floatobject; pub(crate) mod floatobject;
#[cfg(not(PyPy))]
pub(crate) mod pyframe; pub(crate) mod pyframe;
pub(crate) mod tupleobject; pub(crate) mod tupleobject;
pub(crate) mod unicodeobject; pub(crate) mod unicodeobject;
@ -60,7 +59,7 @@ pub use self::object::*;
pub use self::objimpl::*; pub use self::objimpl::*;
pub use self::pydebug::*; pub use self::pydebug::*;
pub use self::pyerrors::*; pub use self::pyerrors::*;
#[cfg(not(PyPy))] #[cfg(Py_3_11)]
pub use self::pyframe::*; pub use self::pyframe::*;
#[cfg(all(Py_3_8, not(PyPy)))] #[cfg(all(Py_3_8, not(PyPy)))]
pub use self::pylifecycle::*; pub use self::pylifecycle::*;
@ -69,4 +68,5 @@ pub use self::pystate::*;
pub use self::pythonrun::*; pub use self::pythonrun::*;
pub use self::tupleobject::*; pub use self::tupleobject::*;
pub use self::unicodeobject::*; pub use self::unicodeobject::*;
#[cfg(not(PyPy))]
pub use self::weakrefobject::*; pub use self::weakrefobject::*;