On Sat, Sep 19, 2015 at 2:39 PM, Random832 <random832@fastmail.com> wrote:
Xavier Combelle
<xavier.combelle@gmail.com> writes:

> I'm curious on which API returning None, a major bonus on using python
> is that I pretty never stumbled upon the equivalent of
> NullPointerException.

It doesn't strictly have one; None is an object and you get the usual
TypeError, AttributeError, etc, upon using it in a place it's not expected.

Most often AttributeError. It's pretty common in large Python systems.

--Guido van Rossum (python.org/~guido)