NAME ^

pmc/pynone.pmc - Python None

DESCRIPTION ^

PyNone extends PyInt to provide a class with the behaviour of the Python None value.

Methods ^

void class_init()

Class initialization. Caches constant strings that will be used later.

INTVAL get_bool()

Returns the boolean value of the integer.

STRING *get_string ()

Return "None"

INTVAL is_equal (PMC *value)

The == operation.


parrot