Replace inspect.stack() with inspect.currentframe()
1 file changed