A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-August/112728.html below:

[Python-Dev] cpython (3.2): Fix closes Issue12676

[Python-Dev] cpython (3.2): Fix closes Issue12676 - Invalid identifier used in TypeError message in [Python-Dev] cpython (3.2): Fix closes Issue12676 - Invalid identifier used in TypeError message inAntoine Pitrou solipsis at pitrou.net
Tue Aug 2 14:16:01 CEST 2011
On Tue, 02 Aug 2011 12:33:55 +0200
senthil.kumaran <python-checkins at 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))
 


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4