common practice for creating utility functions?
nobody at 127.0.0.1
Wed May 17 04:50:24 CEST 2006
Bruno Desthuilliers wrote:
> Then it would be better to just alias it:
> # def convert_quote(quote):
> # return make_code(quote)
> convert_quote = make_code
The former makes sense if you're planning to do more with the calling
> About the "fine to do" part, remember that Python's function calls are
> rather expansive...
Indeed, their expansiveness makes them great. Unfortunately they're
somewhat expensive too. ;)
UC Berkeley School of Law (Boalt Hall)
complangpython at eddeye dot net
More information about the Python-list