Eric V. Smith <[email protected]> added the comment:
This is not an annotations-only issue. This is no different from:
import re
class MyClass(object):
def re(self):
pass
m = re.Match
Which gives the same error. It's being evaluated at class scope.
----------
nosy: +eric.smith
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40595>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com