[pypy-svn] r56588 - pypy/branch/2.5-features/pypy/lib
bgola at codespeak.net
bgola at codespeak.net
Wed Jul 16 15:18:44 CEST 2008
Author: bgola
Date: Wed Jul 16 15:18:42 2008
New Revision: 56588
Modified:
pypy/branch/2.5-features/pypy/lib/_exceptions.py
Log:
GeneratorExit exception
Modified: pypy/branch/2.5-features/pypy/lib/_exceptions.py
==============================================================================
--- pypy/branch/2.5-features/pypy/lib/_exceptions.py (original)
+++ pypy/branch/2.5-features/pypy/lib/_exceptions.py Wed Jul 16 15:18:42 2008
@@ -103,6 +103,9 @@
class Exception(BaseException):
"""Common base class for all non-exit exceptions."""
+class GeneratorExit(Exception):
+ """Request that a generator exit."""
+
class StandardError(Exception):
"""Base class for all standard Python exceptions."""
More information about the Pypy-commit
mailing list