Back to index

python3.2  3.2.2
Public Member Functions
ctypes._endian._swapped_meta Class Reference
Inheritance diagram for ctypes._endian._swapped_meta:
Inheritance graph
Collaboration diagram for ctypes._endian._swapped_meta:
Collaboration graph

List of all members.

Public Member Functions

def __setattr__

Detailed Description

Definition at line 23 of file

Member Function Documentation

def ctypes._endian._swapped_meta.__setattr__ (   self,

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:

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