diff options
author | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2011-08-19 01:52:46 +0000 |
---|---|---|
committer | cliechti <cliechti@f19166aa-fa4f-0410-85c2-fa1106f25c8a> | 2011-08-19 01:52:46 +0000 |
commit | 01008c17aa5126059ef765ff86cc667b5f209569 (patch) | |
tree | 6c3bc75bd37990dd3789f27d51c4349b768d8a60 | |
parent | aa1663f080ffe2616b2081df907bd7bfa3e8e0d9 (diff) | |
download | pyserial-01008c17aa5126059ef765ff86cc667b5f209569.tar.gz |
doc and __main__ update
git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@417 f19166aa-fa4f-0410-85c2-fa1106f25c8a
-rw-r--r-- | serial/urlhandler/protocol_loop.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serial/urlhandler/protocol_loop.py b/serial/urlhandler/protocol_loop.py index d97c44c..e6b3ebd 100644 --- a/serial/urlhandler/protocol_loop.py +++ b/serial/urlhandler/protocol_loop.py @@ -30,7 +30,7 @@ LOGGER_LEVELS = { class LoopbackSerial(SerialBase): - """Serial port implementation for plain sockets.""" + """Serial port implementation that simulates a loop back connection in plain software.""" BAUDRATES = (50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200) @@ -254,7 +254,7 @@ else: # simple client test if __name__ == '__main__': import sys - s = Serial('socket://localhost:7000') + s = Serial('loop://') sys.stdout.write('%s\n' % s) sys.stdout.write("write...\n") |