◐ Shell
clean mode source ↗

bpo-46333: include `module` in `ForwardRef.__repr__` by aha79 · Pull Request #31283 · python/cpython

The module parameter carries semantic information about the forward ref.
Show to the user that forward refs with same argument but different
module are different.

This is the split-off part from GH-30536 which should not be backported.

https://bugs.python.org/issue46333