Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
libpython.PyObjectPtrPrinter Class Reference

List of all members.

Public Member Functions

def __init__
def to_string

Public Attributes

 gdbval

Detailed Description

Definition at line 1285 of file libpython.py.


Constructor & Destructor Documentation

def libpython.PyObjectPtrPrinter.__init__ (   self,
  gdbval 
)

Definition at line 1288 of file libpython.py.

01288 
01289     def __init__ (self, gdbval):
01290         self.gdbval = gdbval

Here is the caller graph for this function:


Member Function Documentation

Definition at line 1291 of file libpython.py.

01291 
01292     def to_string (self):
01293         pyop = PyObjectPtr.from_pyobject_ptr(self.gdbval)
01294         if True:
01295             return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
01296         else:
01297             # Generate full proxy value then stringify it.
01298             # Doing so could be expensive
01299             proxyval = pyop.proxyval(set())
01300             return stringify(proxyval)

Here is the call graph for this function:


Member Data Documentation

Definition at line 1289 of file libpython.py.


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