summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorcliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a>2009-08-05 12:40:38 +0000
committercliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a>2009-08-05 12:40:38 +0000
commit45509e198837b639fb9e1d3bf29060d7784098d2 (patch)
tree463045d85dbb41fa97f5a3ee77013dc38d828eda /documentation
parent3de643ddac29f10b22a24dd57021185b696f9286 (diff)
downloadpyserial-45509e198837b639fb9e1d3bf29060d7784098d2.tar.gz
rename function -> serial_for_url
git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@295 f19166aa-fa4f-0410-85c2-fa1106f25c8a
Diffstat (limited to 'documentation')
-rw-r--r--documentation/pyserial_api.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/pyserial_api.rst b/documentation/pyserial_api.rst
index 30944cd..4d92a17 100644
--- a/documentation/pyserial_api.rst
+++ b/documentation/pyserial_api.rst
@@ -590,7 +590,7 @@ Functions:
the returned device name really exists on the system.
-.. function:: serial_class_for_url(url, \*args, \*\*kwargs)
+.. function:: serial_for_url(url, \*args, \*\*kwargs)
:param url: Device name, number or URL_
:param do_not_open: When set to true, the serial port is not opened.
@@ -613,7 +613,7 @@ Functions:
URLs
----
-The class :class:`rfc2217.Serial` and the function :func:`serial_class_for_url`
+The class :class:`rfc2217.Serial` and the function :func:`serial_for_url`
accept the following type URL::
rfc2217://<host>:<port>[/<option>[/<option>]]