summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorThomas Achtemichuk <tom@tomchuk.com>2018-03-19 13:28:43 -0400
committerOmer Katz <omer.drow@gmail.com>2018-03-19 19:28:43 +0200
commit75695205f6e7af8e7e9178e010debc3871b19106 (patch)
treea45acc3ae34c048d756ea42587b6a0c42d0bd5dc /examples
parentdba85e2d9515b9ce202bd30e8690131aa055e6bf (diff)
downloadkombu-75695205f6e7af8e7e9178e010debc3871b19106.tar.gz
Rename `async` keyword to `asynchronous` (#839)
* Rename `async` keyword to `asynchronous` * Fixes #742 * Resolves "DeprecationWarning: 'async' and 'await' will become reserved keywords in Python 3.7" * Address PR feedback * Update appveyor config * Rename docs and tests
Diffstat (limited to 'examples')
-rw-r--r--examples/experimental/async_consume.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/experimental/async_consume.py b/examples/experimental/async_consume.py
index 88ec62e4..b794687e 100644
--- a/examples/experimental/async_consume.py
+++ b/examples/experimental/async_consume.py
@@ -2,7 +2,7 @@
from __future__ import absolute_import, unicode_literals
from kombu import Connection, Exchange, Queue, Producer, Consumer
-from kombu.async import Hub
+from kombu.asynchronous import Hub
hub = Hub()
exchange = Exchange('asynt')