summaryrefslogtreecommitdiff
path: root/src/testdir/test_channel.py
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-13 23:23:53 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-13 23:23:53 +0100
commit7707344ddec9069b495b2a5ed41f2104466fc88b (patch)
tree9c6b21f811c7c38a89daf010c61453d7d6eaa8da /src/testdir/test_channel.py
parente516c39ee97cb85fa230fbb1b1f54ad1346920d9 (diff)
downloadvim-git-7707344ddec9069b495b2a5ed41f2104466fc88b.tar.gz
patch 7.4.1315v7.4.1315
Problem: Using a channel handle does not allow for freeing it when unused. Solution: Add the Channel variable type.
Diffstat (limited to 'src/testdir/test_channel.py')
-rw-r--r--src/testdir/test_channel.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/testdir/test_channel.py b/src/testdir/test_channel.py
index 311fbc07c..ce6d5c16d 100644
--- a/src/testdir/test_channel.py
+++ b/src/testdir/test_channel.py
@@ -1,13 +1,7 @@
#!/usr/bin/python
#
# Server that will accept connections from a Vim channel.
-# Run this server and then in Vim you can open the channel:
-# :let handle = ch_open('localhost:8765', 'json')
-#
-# Then Vim can send requests to the server:
-# :let response = ch_sendexpr(handle, 'hello!')
-#
-# See ":help channel-demo" in Vim.
+# Used by test_channel.vim.
#
# This requires Python 2.6 or later.