Closed
Description
Currently, collections containing only None
require type annotations (in strict Optional -- they're meaningless otherwise). For example:
x = [None] # E: Need type annotation for variable
As @dmoisset mentioned in #2230, this can be confusing. We should consider whether or not we really want to require a type annotation. And if we do, we should consider finding a more understandable error message.