Back to index

python3.2  3.2.2
Public Member Functions | Static Private Attributes
ctypes.test.test_pep3118.LEPoint Class Reference
Inheritance diagram for ctypes.test.test_pep3118.LEPoint:
Inheritance graph
Collaboration diagram for ctypes.test.test_pep3118.LEPoint:
Collaboration graph

List of all members.

Public Member Functions

def __setattr__

Static Private Attributes

list _fields_ = [("x", c_long), ("y", c_long)]

Detailed Description

Definition at line 180 of file

Member Function Documentation

def ctypes._endian._swapped_meta.__setattr__ (   self,
) [inherited]

Definition at line 24 of file

00025     def __setattr__(self, attrname, value):
00026         if attrname == "_fields_":
00027             fields = []
00028             for desc in value:
00029                 name = desc[0]
00030                 typ = desc[1]
00031                 rest = desc[2:]
00032                 fields.append((name, _other_endian(typ)) + rest)
00033             value = fields
00034         super().__setattr__(attrname, value)

Here is the call graph for this function:

Member Data Documentation

list ctypes.test.test_pep3118.LEPoint._fields_ = [("x", c_long), ("y", c_long)] [static, private]

Definition at line 181 of file

The documentation for this class was generated from the following file: