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/104305.html below:

Python methods and C++ static methods

Python methods and C++ static methods Python methods and C++ static methodsAlex Martelli aleaxit at yahoo.com
Fri Apr 27 09:45:47 EDT 2001
"Yann Cointepas" <yann.cointepas at chups.jussieu.fr> wrote in message
news:9cbprq$mnc$1 at vishnu.jussieu.fr...
> Can Python unbound methods easily be used like C++ static methods ?
    ...
> Is there a better solution ?

I think recipe ""Static-methods" (aka "class-methods") in Python",
on the Python Cookbook, see:
http://www.activestate.com/ASPN/Python/Cookbook/Recipe/52304,
is a bit better, and may at least be worth checking out.


Alex




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