# builtins module

`binaryninja.builtins.ArithmeticError` | Base class for arithmetic errors.
`binaryninja.builtins.AssertionError` | Assertion failed.
`binaryninja.builtins.AttributeError` | Attribute not found.
`binaryninja.builtins.BaseException` | Common base class for all exceptions
`binaryninja.builtins.BufferError` | Buffer error.
`binaryninja.builtins.BytesWarning` | Base class for warnings about bytes and buffer related problems, mostly related to conversion from str or comparing to str.
`binaryninja.builtins.DeprecationWarning` | Base class for warnings about deprecated features.
`binaryninja.builtins.EOFError` | Read beyond end of file.
`binaryninja.builtins.EnvironmentError` | Base class for I/O related errors.
`binaryninja.builtins.Exception` | Common base class for all non-exit exceptions.
`binaryninja.builtins.FloatingPointError` | Floating point operation failed.
`binaryninja.builtins.FutureWarning` | Base class for warnings about constructs that will change semantically in the future.
`binaryninja.builtins.GeneratorExit` | Request that a generator exit.
`binaryninja.builtins.IOError` | I/O operation failed.
`binaryninja.builtins.ImportError` | Import can’t find module, or can’t find name in module.
`binaryninja.builtins.ImportWarning` | Base class for warnings about probable mistakes in module imports
`binaryninja.builtins.IndentationError` | Improper indentation.
`binaryninja.builtins.IndexError` | Sequence index out of range.
`binaryninja.builtins.KeyError` | Mapping key not found.
`binaryninja.builtins.KeyboardInterrupt` | Program interrupted by user.
`binaryninja.builtins.LookupError` | Base class for lookup errors.
`binaryninja.builtins.MemoryError` | Out of memory.
`binaryninja.builtins.NameError` | Name not found globally.
`binaryninja.builtins.NotImplementedError` | Method or function hasn’t been implemented yet.
`binaryninja.builtins.OSError` | OS system call failed.
`binaryninja.builtins.OverflowError` | Result too large to be represented.
`binaryninja.builtins.PendingDeprecationWarning` | Base class for warnings about features which will be deprecated in the future.
`binaryninja.builtins.ReferenceError` | Weak ref proxy used after referent went away.
`binaryninja.builtins.RuntimeError` | Unspecified run-time error.
`binaryninja.builtins.RuntimeWarning` | Base class for warnings about dubious runtime behavior.
`binaryninja.builtins.StandardError` | Base class for all standard Python exceptions that do not represent interpreter exiting.
`binaryninja.builtins.StopIteration` | Signal the end from iterator.next().
`binaryninja.builtins.SyntaxError` | Invalid syntax.
`binaryninja.builtins.SyntaxWarning` | Base class for warnings about dubious syntax.
`binaryninja.builtins.SystemError` | Internal error in the Python interpreter.
`binaryninja.builtins.SystemExit` | Request to exit from the interpreter.
`binaryninja.builtins.TabError` | Improper mixture of spaces and tabs.
`binaryninja.builtins.TypeError` | Inappropriate argument type.
`binaryninja.builtins.UnboundLocalError` | Local name referenced but not bound to a value.
`binaryninja.builtins.UnicodeDecodeError` | Unicode decoding error.
`binaryninja.builtins.UnicodeEncodeError` | Unicode encoding error.
`binaryninja.builtins.UnicodeError` | Unicode related error.
`binaryninja.builtins.UnicodeTranslateError` | Unicode translation error.
`binaryninja.builtins.UnicodeWarning` | Base class for warnings about Unicode related problems, mostly related to conversion problems.
`binaryninja.builtins.UserWarning` | Base class for warnings generated by user code.
`binaryninja.builtins.ValueError` | Inappropriate argument value (of correct type).
`binaryninja.builtins.Warning` | Base class for warning categories.
`binaryninja.builtins.ZeroDivisionError` | Second argument to a division or modulo operation was zero.
`binaryninja.builtins.basestring` | Type basestring cannot be instantiated; it is the base for str and unicode.
`binaryninja.builtins.bool`((x) -> bool) | Returns True when the argument x is true, False otherwise.
`binaryninja.builtins.buffer`(object [, ...) | Create a new buffer object which references the given object.
`binaryninja.builtins.bytearray`(...) | bytearray(string, encoding[, errors]) -> bytearray.
`binaryninja.builtins.bytes` | alias of `newbytes`
`binaryninja.builtins.classmethod`(...) | Convert a function to be a class method.
`binaryninja.builtins.complex`((real[, ...) | Create a complex number from a real part and an optional imaginary part.
`binaryninja.builtins.dict` | alias of `newdict`
`binaryninja.builtins.enumerate`((iterable[, ...) | Return an enumerate object.
`binaryninja.builtins.file`((name[, mode[, ...) | Open a file.
`binaryninja.builtins.filter` | alias of `ifilter`
`binaryninja.builtins.float`(...) | Convert a string or number to a floating point number, if possible.
`binaryninja.builtins.frozenset`(...) | frozenset(iterable) -> frozenset object
`binaryninja.builtins.int` | alias of `newint`
`binaryninja.builtins.list` | alias of `newlist`
`binaryninja.builtins.long`((x=0) -> long) | long(x, base=10) -> long
`binaryninja.builtins.map` | alias of `imap`
`binaryninja.builtins.memoryview`(object) | Create a new memoryview object which references the given object.
`binaryninja.builtins.object` | alias of `newobject`
`binaryninja.builtins.property`((fget=None[, ...]) | fget is a function to be used for getting an attribute value, and likewise
`binaryninja.builtins.range` | alias of `newrange`
`binaryninja.builtins.reversed`(...) | Return a reverse iterator
`binaryninja.builtins.set`(...) | set(iterable) -> new set object
`binaryninja.builtins.slice`(stop) | slice(start, stop[, step])
`binaryninja.builtins.staticmethod`(...) | Convert a function to be a static method.
`binaryninja.builtins.str` | alias of `newstr`
`binaryninja.builtins.tuple`(() -> empty tuple) | tuple(iterable) -> tuple initialized from iterable’s items
`binaryninja.builtins.type`(...) | type(name, bases, dict) -> a new type
`binaryninja.builtins.unicode`(...) | unicode(string[, encoding[, errors]]) -> unicode object
`binaryninja.builtins.xrange`(...) | xrange(start, stop[, step]) -> xrange object
`binaryninja.builtins.zip` | alias of `izip`
`binaryninja.builtins.next`(iterator[, default]) | Return the next item from the iterator.
`binaryninja.builtins.pow`((x, y[, z]) -> number) | With two arguments, equivalent to x**y.
`binaryninja.builtins.round`(number[, ndigits]) | See Python 3 documentation: uses Banker’s Rounding.
`binaryninja.builtins.super`([typ, ...]) | Like builtin super(), but capable of magic.