branch | stable |
changeset 1954 | 9b20f3504af8 |
parent 1741 | fe5266f0f88c |
child 1977 | 606923dff11b |
--- a/__init__.py Wed May 27 11:24:58 2009 +0200 +++ b/__init__.py Wed May 27 11:26:03 2009 +0200 @@ -46,7 +46,7 @@ class Binary(StringIO): """customize StringIO to make sure we don't use unicode""" - def __init__(self, buf= ''): + def __init__(self, buf=''): assert isinstance(buf, (str, buffer)), \ "Binary objects must use raw strings, not %s" % buf.__class__ StringIO.__init__(self, buf)