A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/116358.html below:

Unbound methods of types

Unbound methods of types Unbound methods of typesBen Hutchings ben.hutchings at roundpoint.com
Sun Apr 29 19:06:20 EDT 2001
"Alex Martelli" <aleaxit at yahoo.com> writes:
<snip>
> # 4. special case, as you note, for string. stuff
> L = map(string.capitalize, l)
<snip>

I feel that it ought to be possible to use type("").capitalize here,
as one could do with a class method.  Why is it not possible to get
unbound methods from types?  Should it be?

-- 
Any opinions expressed are my own and not necessarily those of Roundpoint.

More information about the Python-list 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