python - What is a 'NoneType' object? - Stack Overflow
stackoverflow.com › questions › 21095654Jan 13, 2014 · NoneType is a type defined in the standard library module types; In Python 3.0 to 3.9. NoneType has been removed from module types, presumably because there is only a single value of this type. It effectively exists nevertheless, it only has no built-in name: You can access NoneType by writing type(None). If you want NoneType back, just define NoneType = type(None). In Python 3.10+