Package nltk_lite :: Package draw :: Module cfg' :: Class CodeType
[hide private]
[frames] | no frames]

Class CodeType

object --+
         |
        nltk_lite.draw.cfg'.CodeType

code(argcount, nlocals, stacksize, flags, codestring, constants, names,
      varnames, filename, name, firstlineno, lnotab[, freevars[, cellvars]])

Create a code object.  Not for the faint of heart.

Instance Methods [hide private]
 
__cmp__(x, y)
cmp(x,y)
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
 
__hash__(x)
hash(x)
 
__new__(T, S, ...)
Returns: a new object with type S, a subtype of T
 
__repr__(x)
repr(x)

Inherited from object: __delattr__, __init__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]
  co_argcount
  co_cellvars
  co_code
  co_consts
  co_filename
  co_firstlineno
  co_flags
  co_freevars
  co_lnotab
  co_name
  co_names
  co_nlocals
  co_stacksize
  co_varnames

Inherited from object: __class__

Method Details [hide private]

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__hash__(x)
(Hashing function)

 

hash(x)

Overrides: object.__hash__

__new__(T, S, ...)

 
Returns:
a new object with type S, a subtype of T

Overrides: object.__new__

__repr__(x)
(Representation operator)

 

repr(x)

Overrides: object.__repr__