Commit 00929b9
MNT: yet more compatibility fixes
In python > 3.2 `functools.update_wrapper` (which backs the `wraps`
decorator) adds `__wrapped__` attribute to the returned function to
provide easy access to the base function. Mock this up for legacy
versions of python.1 parent 47ff38a commit 00929b9
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1590 | 1590 | | |
1591 | 1591 | | |
1592 | 1592 | | |
1593 | | - | |
1594 | | - | |
1595 | | - | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
1596 | 1598 | | |
1597 | 1599 | | |
1598 | 1600 | | |
| |||
1791 | 1793 | | |
1792 | 1794 | | |
1793 | 1795 | | |
| 1796 | + | |
| 1797 | + | |
1794 | 1798 | | |
1795 | 1799 | | |
1796 | 1800 | | |
| |||
0 commit comments