oldchannel.py: update deprecation message

This commit is contained in:
Denis Bilenko
2009-06-26 09:18:20 +07:00
parent 831656b796
commit 35d4af9c22

View File

@@ -99,4 +99,4 @@ class channel(object):
return self._send_tasklet(None, exc)
import warnings
warnings.warn("channel is deprecated; use coros.queue(0) which behaves the same", DeprecationWarning, stacklevel=2)
warnings.warn("channel is deprecated by coros.Channel", DeprecationWarning, stacklevel=2)