Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
Doc Class Reference
Inheritance diagram for Doc:
HTMLDoc TextDoc

Public Member Functions

def document
 
def fail
 

Static Public Attributes

 docmodule = fail
 

Detailed Description

Definition at line 263 of file pydoc.py.

Member Function Documentation

def document (   self,
  object,
  name = None,
  args 
)
Generate documentation for an object.

Definition at line 264 of file pydoc.py.

References HTMLDoc.docclass(), TextDoc.docclass(), Doc.docmodule, HTMLDoc.docother(), TextDoc.docother(), HTMLDoc.docroutine(), TextDoc.docroutine(), inspect.isclass(), inspect.ismodule(), and inspect.isroutine().

265  def document(self, object, name=None, *args):
266  """Generate documentation for an object."""
267  args = (object, name) + args
268  if inspect.ismodule(object): return apply(self.docmodule, args)
269  if inspect.isclass(object): return apply(self.docclass, args)
270  if inspect.isroutine(object): return apply(self.docroutine, args)
271  return apply(self.docother, args)
def fail (   self,
  object,
  name = None,
  args 
)
Raise an exception for unimplemented types.

Definition at line 272 of file pydoc.py.

273  def fail(self, object, name=None, *args):
274  """Raise an exception for unimplemented types."""
275  message = "don't know how to document object%s of type %s" % (
276  name and ' ' + repr(name), type(object).__name__)
277  raise TypeError, message

Field Documentation

docmodule = fail
static

Definition at line 278 of file pydoc.py.


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