Skip to content

Commit

Permalink
remove another now-redundant import
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Oct 26, 2024
1 parent f6fedbe commit dec2036
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/err/err_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ pub(crate) struct PyErrStateNormalized {

impl PyErrStateNormalized {
pub(crate) fn new(pvalue: Bound<'_, PyBaseException>) -> Self {
#[cfg(not(Py_3_12))]
use crate::types::any::PyAnyMethods;

Self {
#[cfg(not(Py_3_12))]
ptype: pvalue.get_type().into(),
Expand Down

0 comments on commit dec2036

Please sign in to comment.