Skip to content

Commit 41842f9

Browse files
committed
fix pyo3-ffi beta clippy warnings
1 parent 8e5ef90 commit 41842f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyo3-ffi/src/cpython/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ pub(crate) mod pystate;
3131
pub(crate) mod pythonrun;
3232
// skipped sysmodule.h
3333
pub(crate) mod floatobject;
34-
#[cfg(not(PyPy))]
3534
pub(crate) mod pyframe;
3635
pub(crate) mod tupleobject;
3736
pub(crate) mod unicodeobject;
@@ -60,7 +59,7 @@ pub use self::object::*;
6059
pub use self::objimpl::*;
6160
pub use self::pydebug::*;
6261
pub use self::pyerrors::*;
63-
#[cfg(not(PyPy))]
62+
#[cfg(Py_3_11)]
6463
pub use self::pyframe::*;
6564
#[cfg(all(Py_3_8, not(PyPy)))]
6665
pub use self::pylifecycle::*;
@@ -69,4 +68,5 @@ pub use self::pystate::*;
6968
pub use self::pythonrun::*;
7069
pub use self::tupleobject::*;
7170
pub use self::unicodeobject::*;
71+
#[cfg(not(PyPy))]
7272
pub use self::weakrefobject::*;

0 commit comments

Comments
 (0)