ruff
181e7b3c - [red-knot] rename module_global to global (#12385)

Commit
1 year ago
[red-knot] rename module_global to global (#12385) Per comments in https://github.com/astral-sh/ruff/pull/12269, "module global" is kind of long, and arguably redundant. I tried just using "module" but there were too many cases where I felt this was ambiguous. I like the way "global" works out better, though it does require an understanding that in Python "global" generally means "module global" not "globally global" (though in a sense module globals are also globally global since modules are singletons).
Author
Parents
Loading