python - What is a 'NoneType' object? - Stack Overflow
stackoverflow.com › questions › 21095654Jan 13, 2014 · NoneType is the type for the None object, which is an object that indicates no value.None is the return value of functions that "don't return anything". It is also a common default return value for functions that search for something and may or may not find it; for example, it's returned by re.search when the regex doesn't match, or dict.get when the key has no entry in the dict.