parameters: (prx, package='paraview', module='simple')
return_statement: return directive
docstring: Create the autoclass directive for proxy
docstring_summary: Create the autoclass directive for proxy
docstring_tokens: Create the autoclass directive for proxy
function: def format_simple_proxy_directive(prx, package='paraview', module='simple'):
      """Create the autoclass directive for proxy"""
      directive = '.. currentmodule:: %s.%s\n\n' % (package, module)
      directive += '.. autofunction:: %s\n\n' % prx
  
      # Parse pydoc output for the proxy
      import parse_pydoc_output
      parser = parse_pydoc_output.ParsePyDocOutput('%s.%s' %(package, module),
          ['servermanager'], prx)
      directive += format_heading(2, 'Data Descriptors')
      directive += '%s\n\n' % parser.data_mems.replace('*', '\\*')
      inh_data_mems = parser.inh_data_mems
      for inh_data_mem in inh_data_mems:
          directive += format_heading(3, 'Data Descriptors inherited from %s'\
              % inh_data_mem)
          directive += '%s\n\n' % inh_data_mems[inh_data_mem].replace('*', '\\*')
      directive += format_heading(2, 'Methods')
      directive += '%s\n\n' % parser.method_mems.replace('*', '\\*')
      inh_method_mems = parser.inh_method_mems
      for inh_method_mem in inh_method_mems:
          directive += format_heading(3, 'Methods inherited from %s'\
              % inh_method_mem)
          directive += '%s\n\n' % inh_method_mems[inh_method_mem].replace('*', '\\*')
      return directive
function_tokens: def format_simple_proxy_directive ( prx , package = 'paraview' , module = 'simple' ) : directive = '.. currentmodule:: %s.%s\n\n' % ( package , module ) directive += '.. autofunction:: %s\n\n' % prx # Parse pydoc output for the proxy import parse_pydoc_output parser = parse_pydoc_output . ParsePyDocOutput ( '%s.%s' % ( package , module ) , [ 'servermanager' ] , prx ) directive += format_heading ( 2 , 'Data Descriptors' ) directive += '%s\n\n' % parser . data_mems . replace ( '*' , '\\*' ) inh_data_mems = parser . inh_data_mems for inh_data_mem in inh_data_mems : directive += format_heading ( 3 , 'Data Descriptors inherited from %s' % inh_data_mem ) directive += '%s\n\n' % inh_data_mems [ inh_data_mem ] . replace ( '*' , '\\*' ) directive += format_heading ( 2 , 'Methods' ) directive += '%s\n\n' % parser . method_mems . replace ( '*' , '\\*' ) inh_method_mems = parser . inh_method_mems for inh_method_mem in inh_method_mems : directive += format_heading ( 3 , 'Methods inherited from %s' % inh_method_mem ) directive += '%s\n\n' % inh_method_mems [ inh_method_mem ] . replace ( '*' , '\\*' ) return directive