beautypg.com

15 other built-in types: classes, 16 other built-in types: functions – Rainbow Electronics GM862-GPS User Manual

Page 87

background image





Easy Script

in Python

80000ST10020a Rev.8 - 01/10/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 87 of 100

4.2.15 Other Built-in Types: Classes


Classes objects, class attribute access and class instances are supported.

The following attributes are supported:







The following attributes are supported by class methods:






The following special methods are supported:











4.2.16 Other Built-in Types: Functions


Functions objects and function call are supported with the following attributes:








__dict__

__name__

__bases__

__module__

im_func

im_self

im_class

__init__(self [, args...])

__del__(self)

__repr__(self)

__str__(self)

__cmp__(self, other)

__hash__(self)

__nonzero__(self)

__getattr__(self, name)

__setattr__(self, name, value)

__delattr__(self, name)

func_code

func_globals

func_name

func_defaults

__name__