On Tue, 02 Aug 2011 12:33:55 +0200
senthil.kumaran <python-check...@python.org> wrote:
>                  raise TypeError("data should be a bytes-like object\
> -                        or an iterable, got %r " % type(it))
> +                        or an iterable, got %r " % type(data))

There are still a lot of spaces in your message. You should use string
literal concatenation instead:

                raise TypeError(
                        "data should be a bytes-like object "
                        "or an iterable, got %r"
                        % type(data))
 


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to