-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deprecated_function/deprecated_member child classes
+ shortcut for different default messages
- Loading branch information
1 parent
b75fb0d
commit 95454e9
Showing
3 changed files
with
45 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
from deprecation_policy import some_deprecated_function, some_future_deprecated_function | ||
from deprecation_policy import ( | ||
X, | ||
some_deprecated_function, | ||
some_future_deprecated_function, | ||
) | ||
|
||
some_deprecated_function() | ||
some_future_deprecated_function() | ||
X().deprecated_member_function() |