Commit 313bea8
Remove _get_wrapped_func (#35621)
Summary:
Pull Request resolved: #35621
Python 2 has reached end-of-life and is no longer supported by PyTorch.
`func.__wrapped__` can be used directly in Python 3.
Test Plan: CI
Differential Revision: D20842875
Pulled By: dreiss
fbshipit-source-id: 26f71df12db6d5118c8f278b27d747d647d079001 parent d060deb commit 313bea8
1 file changed
Lines changed: 4 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2949 | 2949 | | |
2950 | 2950 | | |
2951 | 2951 | | |
2952 | | - | |
2953 | | - | |
2954 | | - | |
2955 | | - | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
| 2955 | + | |
2956 | 2956 | | |
2957 | 2957 | | |
2958 | 2958 | | |
| |||
2971 | 2971 | | |
2972 | 2972 | | |
2973 | 2973 | | |
2974 | | - | |
2975 | | - | |
2976 | | - | |
2977 | | - | |
2978 | | - | |
2979 | | - | |
2980 | | - | |
2981 | | - | |
2982 | | - | |
2983 | 2974 | | |
2984 | 2975 | | |
2985 | 2976 | | |
| |||
0 commit comments