We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed43233 commit f261d1dCopy full SHA for f261d1d
1 file changed
vm/src/exceptions.rs
@@ -531,7 +531,7 @@ macro_rules! extends_exception {
531
$base_class_literal: literal,
532
$docs: tt
533
) => {
534
- simple_extends_exception!(
+ extends_exception!(
535
$class_name,
536
$class_name_literal,
537
$base_class,
@@ -585,11 +585,11 @@ macro_rules! extends_exception {
585
}
586
587
extends_exception! {
588
- PyKeyboardInterrupt,
589
- "KeyboardInterrupt",
590
- PyBaseException,
591
- "PyBaseException",
592
- "Program interrupted by user."
+ PyKeyboardInterrupt,
+ "KeyboardInterrupt",
+ PyBaseException,
+ "PyBaseException",
+ "Program interrupted by user."
593
594
595
impl ExceptionZoo {
0 commit comments