diff --git a/src/prelude.rs b/src/prelude.rs index e6a3cb7fe72..92620d2cb6f 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -26,4 +26,5 @@ pub use crate::wrap_pyfunction; // Expected to become public API in 0.21 // pub(crate) use crate::instance::Py2; // Will be stabilized with a different name // pub(crate) use crate::types::any::PyAnyMethods; +// pub(crate) use crate::types::float::PyFloatMethods; // pub(crate) use crate::types::sequence::PySequenceMethods; diff --git a/src/types/floatob.rs b/src/types/float.rs similarity index 100% rename from src/types/floatob.rs rename to src/types/float.rs diff --git a/src/types/mod.rs b/src/types/mod.rs index ef2390cc809..014052b13cf 100644 --- a/src/types/mod.rs +++ b/src/types/mod.rs @@ -17,7 +17,7 @@ pub use self::dict::{IntoPyDict, PyDict}; #[cfg(not(PyPy))] pub use self::dict::{PyDictItems, PyDictKeys, PyDictValues}; pub use self::ellipsis::PyEllipsis; -pub use self::floatob::PyFloat; +pub use self::float::PyFloat; #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] pub use self::frame::PyFrame; pub use self::frozenset::{PyFrozenSet, PyFrozenSetBuilder}; @@ -281,7 +281,7 @@ mod complex; mod datetime; mod dict; mod ellipsis; -mod floatob; +pub(crate) mod float; #[cfg(all(not(Py_LIMITED_API), not(PyPy)))] mod frame; mod frozenset;