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/2008-May/079892.html below:

[Python-Dev] Iterable String Redux (aka String ABC)

[Python-Dev] Iterable String Redux (aka String ABC) [Python-Dev] Iterable String Redux (aka String ABC)Greg Ewing greg.ewing at canterbury.ac.nz
Fri May 30 00:41:50 CEST 2008
Georg Brandl wrote:
> Greg Ewing schrieb:
 >
>> Doesn't isinstance(x, basestring) already cover that?
> 
> That doesn't cover UserString, for example.

A better solution to that might be to have UserString
inherit from basestring.

-- 
Greg
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