py.type(object)
Gets the class of a provided object, if possible.
Note
currently doesn’t work correctly when called on a class object, will return the class itself (also, classes don’t currently have a type).
py.type(name, bases, dict)
Not exactly a builtin as this form is solely javascript-level
(currently). Used to create new py.js
types. See Implementing a custom type
for its usage.
py.None
py.True
py.False
py.NotImplemented
class py.object
Base class for all types, even implicitly (if no bases are
provided to py.type()
)