[svn r51029] make sure the artificial GeneratorExit claims to come from the exceptions

module

--HG--
branch : trunk
This commit is contained in:
cfbolz 2008-01-25 13:46:31 +01:00
parent 37073e11f9
commit b7c0d84ee3
1 changed files with 1 additions and 0 deletions

View File

@ -11,3 +11,4 @@ except NameError:
write code compatible with CPython 2.5 even in lower CPython
versions."""
pass
GeneratorExit.__module__ = 'exceptions'