Nick Coghlan schrieb: > It would be nice if there was a similar mechanism for normal instance methods > as well: > > method = function(some_callable) > If you know you have to put something around it, what's wrong with writing method = lambda *args:some_callable(*args) If that happens often enough, you can write def function(f): return lambda *args:f(*args) Regards, Martin
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