We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37d39aa + 7fd70d1 commit 7a92e26Copy full SHA for 7a92e26
CHANGELOG.md
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
15
### Changed
16
17
- Change `PyErr::fetch()` to return `Option<PyErr>`. [#1717](https://github.com/PyO3/pyo3/pull/1717)
18
+- Deprecate `PyTuple::split_from`. [#1804](https://github.com/PyO3/pyo3/pull/1804)
19
20
### Fixed
21
src/types/tuple.rs
@@ -72,6 +72,7 @@ impl PyTuple {
72
}
73
74
75
+ #[deprecated(since = "0.15.0", note = "use tuple.slice(low, tuple.len()) instead")]
76
/// Takes a slice of the tuple from `low` to the end and returns it as a new tuple.
77
pub fn split_from(&self, low: usize) -> &PyTuple {
78
unsafe {
0 commit comments