Message400786
> `call(f, *args, **kwargs) == f(*args, **kwargs)`
So you can want to reintroduce the Python 2 apply() function which was removed in Python 3.
You can reimplement it in 2 lines, no?
def call(func, *args, **kwargs):
return func(*args, **kwargs) |
|
| Date |
User |
Action |
Args |
| 2021-08-31 21:56:48 | vstinner | set | recipients:
+ vstinner, brett.cannon, rhettinger, mark.dickinson, Antony.Lee, hrik2001 |
| 2021-08-31 21:56:48 | vstinner | set | messageid: <[email protected]> |
| 2021-08-31 21:56:48 | vstinner | link | issue44019 messages |
| 2021-08-31 21:56:48 | vstinner | create | |
|