Closed kevinsung closed 4 years ago
Achieves this by wrapping the modules in a class that defines __getattr__. See https://stackoverflow.com/questions/922550/how-to-mark-a-global-as-deprecated-in-python. The diff for the first commit may be easier to read; the second one is just formatting.
__getattr__
Thanks!
Not sure why Travis is suddenly asking me to lint every file but so be it...
Achieves this by wrapping the modules in a class that defines
__getattr__
. See https://stackoverflow.com/questions/922550/how-to-mark-a-global-as-deprecated-in-python. The diff for the first commit may be easier to read; the second one is just formatting.