-
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with patching staticmethod w/ staticmethod
Summary: Fixes a small issue I noticed while working on D52525922. When we go to handle a value being patched we don't do the unwrapping of the static/class method. So this moves that logic into `update_thunk` and moves the `_PyClassLoader_ResolveFunction` unwrapping to only happen in the case where we're not returning a thunk. Reviewed By: carljm Differential Revision: D52527349 fbshipit-source-id: fbe49c2ced72c68b1467a607ad20a2987c90c36c
- Loading branch information
1 parent
abec6ec
commit b1a7249
Showing
2 changed files
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters