profile
viewpoint

Ask questionsSupport type(None) as a type

type(None) should be equivalent to None, as per PEP 484 draft.

python/mypy

Answer questions msullivan

I don't think anyone cares

useful!

Related questions

mypy not inferring that variable cannot be None after assignment from dict.get hot 1
Dynamic base classes hot 1
Using mypy with mixins and abstract properties hot 1
--disallow-untyped-calls allows calling values with Any type hot 1
Variable assignment on module reference reported as "Module has no attribute <variable_name>" hot 1
mypy checks parent package's init, even though child directory is specified hot 1
--disallow-untyped-calls allows calling values with Any type hot 1
--disallow-untyped-calls allows calling values with Any type hot 1
segmentation fault on indexing object with __getattr__ hot 1
Allow use of type variables at runtime hot 1
type alias to union is invalid in runtime context hot 1
Function line number information is not always correct hot 1
Github User Rank List