New submission from Cheuk Ting Ho :
Demo example:
===
class MyType(type):
def __init__(cls, name, bases, nmspc):
if "__annotations__" in nmspc:
annotations = nmspc["__annotations__"]
else:
nm
Cheuk Ting Ho added the comment:
Thank you, Serhiy for explaining that to me. I am closing it now since it is
not a bug.
--
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
Cheuk Ting Ho added the comment:
I agree that for the more confusing ones, it would be better to write out the
import statement explicitly.
--
nosy: +Cheukting
___
Python tracker
<https://bugs.python.org/issue36