diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2009-08-05 12:40:38 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2009-08-05 12:40:38 +0000 |
commit | 45509e198837b639fb9e1d3bf29060d7784098d2 (patch) | |
tree | 463045d85dbb41fa97f5a3ee77013dc38d828eda /serial/__init__.py | |
parent | 3de643ddac29f10b22a24dd57021185b696f9286 (diff) | |
download | pyserial-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 'serial/__init__.py')
-rw-r--r-- | serial/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serial/__init__.py b/serial/__init__.py index 0ffe95d..6874843 100644 --- a/serial/__init__.py +++ b/serial/__init__.py @@ -25,7 +25,7 @@ else: raise Exception("Sorry: no implementation for your platform ('%s') available" % os.name) -def serial_class_for_url(url, *args, **kwargs): +def serial_for_url(url, *args, **kwargs): """Get a native or a RFC2217 implementation of the Serial class, depending on port/url. The port is not opened when the keyword parameter 'do_not_open' is true, by default it is.""" |