aboutsummaryrefslogtreecommitdiffstats
path: root/python/examples
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples')
-rw-r--r--python/examples/console.py2
-rw-r--r--python/examples/here-now.py2
-rw-r--r--python/examples/history.py2
-rw-r--r--python/examples/publish.py2
-rw-r--r--python/examples/pubnub-console/pubnub-console2
-rw-r--r--python/examples/subscribe.py2
6 files changed, 6 insertions, 6 deletions
diff --git a/python/examples/console.py b/python/examples/console.py
index 7798340..5d74517 100644
--- a/python/examples/console.py
+++ b/python/examples/console.py
@@ -7,7 +7,7 @@
import sys
-from Pubnub import PubnubAsync as Pubnub
+from Pubnub import Pubnub
import threading
from datetime import datetime
diff --git a/python/examples/here-now.py b/python/examples/here-now.py
index d03a110..9640cc5 100644
--- a/python/examples/here-now.py
+++ b/python/examples/here-now.py
@@ -7,7 +7,7 @@
import sys
-from Pubnub import PubnubAsync as Pubnub
+from Pubnub import Pubnub
publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo'
subscribe_key = len(sys.argv) > 2 and sys.argv[2] or 'demo'
diff --git a/python/examples/history.py b/python/examples/history.py
index 7f7466b..603a0f8 100644
--- a/python/examples/history.py
+++ b/python/examples/history.py
@@ -7,7 +7,7 @@
import sys
-from Pubnub import PubnubAsync as Pubnub
+from Pubnub import Pubnub
publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo'
subscribe_key = len(sys.argv) > 2 and sys.argv[2] or 'demo'
diff --git a/python/examples/publish.py b/python/examples/publish.py
index a1b913b..594e7c4 100644
--- a/python/examples/publish.py
+++ b/python/examples/publish.py
@@ -7,7 +7,7 @@
import sys
-from Pubnub import PubnubAsync as Pubnub
+from Pubnub import Pubnub
publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo'
subscribe_key = len(sys.argv) > 2 and sys.argv[2] or 'demo'
diff --git a/python/examples/pubnub-console/pubnub-console b/python/examples/pubnub-console/pubnub-console
index a12c77f..7276fb9 100644
--- a/python/examples/pubnub-console/pubnub-console
+++ b/python/examples/pubnub-console/pubnub-console
@@ -9,7 +9,7 @@
import sys
-from Pubnub import PubnubAsync as Pubnub
+from Pubnub import Pubnub
import threading
from datetime import datetime
diff --git a/python/examples/subscribe.py b/python/examples/subscribe.py
index 6cf93b1..9b8b223 100644
--- a/python/examples/subscribe.py
+++ b/python/examples/subscribe.py
@@ -7,7 +7,7 @@
import sys
-from Pubnub import PubnubAsync as Pubnub
+from Pubnub import Pubnub
publish_key = len(sys.argv) > 1 and sys.argv[1] or 'demo'
subscribe_key = len(sys.argv) > 2 and sys.argv[2] or 'demo'