Message392668
I meant that I looked up the code of functools.update_wrapper() and did not see that it sets the __defaults__ attribute.
In your example in msg392643 you use functools.update_wrapper() incorrectly. The first argument is wrapper, and the second argument is wrapped. updated_x is func. |
|
Date |
User |
Action |
Args |
2021-05-02 06:04:28 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, gregory.p.smith, ncoghlan |
2021-05-02 06:04:28 | serhiy.storchaka | set | messageid: <1619935468.55.0.276118182568.issue44003@roundup.psfhosted.org> |
2021-05-02 06:04:28 | serhiy.storchaka | link | issue44003 messages |
2021-05-02 06:04:28 | serhiy.storchaka | create | |
|