-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #728: attrib plugin rejects any staticmethod
The issue is that static methods get wrapped in an UnboundMethod object, and the attribute plugin is unable to grab the associated class, since UnboundMethod does not have the im_class attribute. Since the goal of UnboundMethod is to mimic an actual method, let's go ahead and implement the im_class attribute.
- Loading branch information
1 parent
023124f
commit c51ff6f
Showing
3 changed files
with
13 additions
and
0 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
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