Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there anything in Python that is a `NoneType` besides `None`? [duplicate]

I was just wondering if in Python there's any other object/instance whose type is NoneType type besides the very well known None:

>>> type(None)
<type 'NoneType'>

So... This is very clear, but I was wondering whether there's anything else that is also of NoneType

>>> type(???)
<type 'NoneType'>

Needless to say, this is just for curiosity sake and learning purposes :-)

Thank you in advance.

like image 813
BorrajaX Avatar asked Jan 20 '26 17:01

BorrajaX


1 Answers

From the docs, None is:

The sole value of the type NoneType.

like image 190
Robbie Jones Avatar answered Jan 22 '26 06:01

Robbie Jones