Back to index

python3.2  3.2.2
Classes | Functions
ctypes.test.test_array_in_pointer Namespace Reference

Classes

class  Value
class  Container
class  Test

Functions

def dump

Function Documentation

Definition at line 6 of file test_array_in_pointer.py.

00006 
00007 def dump(obj):
00008     # helper function to dump memory contents in hex, with a hyphen
00009     # between the bytes.
00010     h = hexlify(memoryview(obj)).decode()
00011     return re.sub(r"(..)", r"\1-", h)[:-1]
00012 

Here is the call graph for this function:

Here is the caller graph for this function: