From 8a7c5002bdc8cd99b2168cbaecae3cf378494bfe Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Thu, 14 Dec 2023 17:14:17 +0000 Subject: [PATCH] rename `floatob.rs` to `float.rs` --- src/prelude.rs | 1 + src/types/{floatob.rs => float.rs} | 0 src/types/mod.rs | 4 ++-- 3 files changed, 3 insertions(+), 2 deletions(-) rename src/types/{floatob.rs => float.rs} (100%) 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;