Richard Oudkerk added the comment:

The documentation needs updating for Python 3 so that a byte string is used.  
So the line becomes

    s = Array('c', b'hello world', lock=lock)

----------
nosy: +sbt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15901>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to