Skip to content

Commit 3962437

Browse files
Remove deprecated Python::version
1 parent 9e6697d commit 3962437

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

newsfragments/6193.removed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove deprecated `Python::version`

src/marker.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -683,12 +683,6 @@ impl<'py> Python<'py> {
683683
PyNotImplemented::get(self).to_owned().into_any().unbind()
684684
}
685685

686-
/// Deprecated version of [Python::version_str].
687-
#[deprecated(since = "0.29.0", note = "use Python::version_str instead")]
688-
pub fn version(self) -> &'static str {
689-
Python::version_str()
690-
}
691-
692686
/// Gets the running Python interpreter version as a string.
693687
///
694688
/// # Examples

0 commit comments

Comments
 (0)