[Python-ideas] adding possibility for declaring a function in Matlab's way
Stefan Behnel
stefan_ml at behnel.de
Sat Feb 12 08:36:33 CET 2011
More information about the Python-ideas mailing list
Sat Feb 12 08:36:33 CET 2011
- Previous message: [Python-ideas] adding possibility for declaring a function in Matlab's way
- Next message: [Python-ideas] adding possibility for declaring a function in Matlab's way
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Géza, 12.02.2011 04:48: > It would be nice if you could write a function header like this (besides, > of course, the current way): > > def result=functionname(params): > ... > result=something Maybe there should be a way to define a function that only returns a value based on an expression and that doesn't require a redundant 'return' statement. You know, like lambda. *wink* Stefan
- Previous message: [Python-ideas] adding possibility for declaring a function in Matlab's way
- Next message: [Python-ideas] adding possibility for declaring a function in Matlab's way
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list