Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Private Attributes
pickletools.ArgumentDescriptor Class Reference
Inheritance diagram for pickletools.ArgumentDescriptor:
Inheritance graph
Collaboration diagram for pickletools.ArgumentDescriptor:
Collaboration graph

List of all members.

Public Member Functions

def __init__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Static Private Attributes

tuple __slots__

Detailed Description

Definition at line 171 of file

Constructor & Destructor Documentation

def pickletools.ArgumentDescriptor.__init__ (   self,

Definition at line 190 of file

00191     def __init__(self, name, n, reader, doc):
00192         assert isinstance(name, str)
00193 = name
00195         assert isinstance(n, int) and (n >= 0 or
00196                                        n in (UP_TO_NEWLINE,
00197                                              TAKEN_FROM_ARGUMENT1,
00198                                              TAKEN_FROM_ARGUMENT4))
00199         self.n = n
00201         self.reader = reader
00203         assert isinstance(doc, str)
00204         self.doc = doc

Here is the caller graph for this function:

Member Data Documentation

Initial value:
        # name of descriptor record, also a module global name; a string

        # length of argument, in bytes; an int; UP_TO_NEWLINE and
        # TAKEN_FROM_ARGUMENT{1,4} are negative values for variable-length
        # cases

        # a function taking a file-like object, reading this kind of argument
        # from the object at the current position, advancing the current
        # position by n bytes, and returning the value of the argument

        # human-readable docs for this arg descriptor; a string

Definition at line 172 of file

Definition at line 203 of file

Definition at line 198 of file

Definition at line 192 of file

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Definition at line 200 of file

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