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.
1 parent 0aa4286 commit 463225bCopy full SHA for 463225b
src/err.rs
@@ -397,15 +397,13 @@ impl <'p> std::convert::From<PythonObjectDowncastError<'p>> for PyErr {
397
}
398
399
impl Error for PyErr {
400
-
401
fn description(&self) -> &str {
402
"Error originating from the rust-cpython bindings."
403
404
405
406
407
impl fmt::Display for PyErr {
408
409
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
410
write!(f, "PyErr: ptype {:?} pvalue {:?}", self.ptype, self.pvalue)
411
0 commit comments