commit | e69c320d48a5708c900cc6c78bf006fef68c62bd | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Mon Dec 03 19:47:54 2007 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Mon Dec 03 19:47:54 2007 +0000 |
tree | 04e85c6cfaf9f5b6eb1a79a263e5cf6e51cc1ae9 | |
parent | 6554cb94ba328939366ac6f12104d70d52d57cdd [diff] [blame] |
Patch #1537 from Chad Austin Change GeneratorExit's base class from Exception to BaseException
diff --git a/Objects/exceptions.c b/Objects/exceptions.c index 4c6a122..cbcda7b 100644 --- a/Objects/exceptions.c +++ b/Objects/exceptions.c
@@ -424,9 +424,9 @@ /* - * GeneratorExit extends Exception + * GeneratorExit extends BaseException */ -SimpleExtendsException(PyExc_Exception, GeneratorExit, +SimpleExtendsException(PyExc_BaseException, GeneratorExit, "Request that a generator exit.");