[Python-Dev] TypeError: foo, bar
Tim Peters
tim.one@home.com
Fri, 1 Dec 2000 01:58:53 -0500
[Fredrik Lundh]
> just stumbled upon yet another (high-profile) python newbie
> confused a "TypeError: read-only character buffer, dictionary"
> message.
>
> how about changing "read-only character buffer" to "string
> or read-only character buffer", and the "foo, bar" format to
> "expected foo, found bar", so we get:
>
> "TypeError: expected string or read-only character
> buffer, found dictionary"
+0. +1 if "found" is changed to "got".
"found"-implies-a-search-ly y'rs - tim