X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/11ad66c29764521f87f0dd399a1e592147c7af36..HEAD:/py/rmcr.py diff --git a/py/rmcr.py b/py/rmcr.py index e2c03252..6c846cb8 100644 --- a/py/rmcr.py +++ b/py/rmcr.py @@ -50,7 +50,7 @@ def _switchto(cr, arg = None, exc = None): global active _debug('> _switchto(%s, %s, %s)' % (cr, arg, exc)) if not cr.livep: - raise ValueError, 'coroutine is dead' + raise ValueError('coroutine is dead') cr._arg = arg cr._exc = exc if cr is active: