pub fn traceback<'py>(&'py self, py: Python<'py>) -> Option<&'py PyTraceback> {
        self.normalized(py)
            .ptraceback
            .as_ref()
            .map(|obj| obj.as_ref(py))
    }
/// Returns the traceback of this exception object.
///
/// The object will be normalized first if needed.
///
/// # Examples
/// ```rust
/// use pyo3::{exceptions::PyTypeError, Python};
///
/// Python::with_gil(|py| {
///     let err = PyTypeError::new_err(("some type error",));
///     assert_eq!(err.traceback(py), None);
/// });
/// ```
Returns the traceback of this exception object.
The object will be normalized first if needed.
Returns the traceback of this exception object . The object will be normalized first if needed .
pub fn traceback<'py>(&'py self, py: Python<'py>) -> Option<&'py PyTraceback> {
        self.normalized(py)
            .ptraceback
            .as_ref()
            .map(|obj| obj.as_ref(py))
    }
pub fn traceback < ' py > ( & ' py self , py : Python < ' py > ) -> Option < & ' py PyTraceback > { self . normalized ( py ) . ptraceback . as_ref ( ) . map ( | obj | obj . as_ref ( py ) ) }
Returns the traceback of this exception object.
Returns the traceback of this exception object .
&'py self
py
Python<'py>
&'py self
py
Python<'py>
examples
```rust
use pyo3::{exceptions::PyTypeError, Python}.

:with_gil(|py| {
let err = PyTypeError::new_err(("some type error",));
assert_eq!(err.traceback(py), None);
});
```
` ` ` rust use pyo3 :: { exceptions :: PyTypeError Python } . : with_gil ( |py| { let err = PyTypeError :: new_err (( " some type error " )) ; assert_eq! ( err . traceback ( py ) None ) ; } ) ; ` ` `