Author serhiy.storchaka
Recipients ammar2, mark.dickinson, rhettinger, serhiy.storchaka
Date 2019-09-20.18:37:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
You can use a lambda instead of partial:

    squared = lambda x: pow(x, 2)

Proposed names look meaningful. But after adding support of keyword arguments please compare performance of the old and the new functions. I expect that the difference will be small, but we need to check.
Date User Action Args
2019-09-20 18:37:05serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, mark.dickinson, ammar2
2019-09-20 18:37:05serhiy.storchakasetmessageid: <>
2019-09-20 18:37:05serhiy.storchakalinkissue38237 messages
2019-09-20 18:37:05serhiy.storchakacreate