rope.base.pyobjectsdef

Classes

PyFunction

Python defined names that rope can access their sources

PyComprehension

Python defined names that rope can access their sources

PyClass

Python defined names that rope can access their sources

PyModule

Python defined names that rope can access their sources

PyPackage

Python defined names that rope can access their sources

StarImport

Module Contents

class rope.base.pyobjectsdef.PyFunction(pycore, ast_node, parent)

Bases: rope.base.pyobjects.PyFunction

Python defined names that rope can access their sources

arguments
parameter_pyobjects
returned
parameter_pynames = None
get_parameters()
get_parameter(index)
get_returned_object(args)
get_name()
get_param_names(special_args=True)
get_kind()

Get function type

It returns one of ‘function’, ‘method’, ‘staticmethod’ or ‘classmethod’ strs.

property decorators
pycore
ast_node
scope = None
parent
structural_attributes = None
concluded_attributes
attributes
defineds = None
property absolute_name
visitor_class = None
get_attributes()
get_attribute(name)
get_scope()
get_module()
get_doc() → str | None
get_ast()
type
get_type()
class rope.base.pyobjectsdef.PyComprehension(pycore, ast_node, parent)

Bases: rope.base.pyobjects.PyComprehension

Python defined names that rope can access their sources

visitor_class
get_kind()
get_name()
pycore
ast_node
scope = None
parent
structural_attributes = None
concluded_attributes
attributes
defineds = None
property absolute_name
get_attributes()
get_attribute(name)
get_scope()
get_module()
get_doc() → str | None
get_ast()
type
get_type()
class rope.base.pyobjectsdef.PyClass(pycore, ast_node, parent)

Bases: rope.base.pyobjects.PyClass

Python defined names that rope can access their sources

visitor_class
parent
get_superclasses()
get_name()
pycore
ast_node
scope = None
structural_attributes = None
concluded_attributes
attributes
defineds = None
property absolute_name
get_attributes()
get_attribute(name)
get_scope()
get_module()
get_doc() → str | None
get_ast()
type
get_type()
class rope.base.pyobjectsdef.PyModule(pycore, source=None, resource=None, force_errors=False)

Bases: rope.base.pyobjects.PyModule

Python defined names that rope can access their sources

has_errors = False
source_code = None
star_imports = []
visitor_class
coding = None
property lines

A SourceLinesAdapter

property logical_lines

A LogicalLinesFinder

get_name()
resource
concluded_data = []
property absolute_name: str
get_resource()
pycore
ast_node
scope = None
parent
structural_attributes = None
concluded_attributes
attributes
defineds = None
get_attributes()
get_attribute(name)
get_scope()
get_module()
get_doc() → str | None
get_ast()
type
get_type()
class rope.base.pyobjectsdef.PyPackage(pycore, resource=None, force_errors=False)

Bases: rope.base.pyobjects.PyPackage

Python defined names that rope can access their sources

resource = None
get_module()
get_name()
concluded_data = []
property absolute_name: str
get_resource()
pycore
ast_node
scope = None
parent
structural_attributes = None
concluded_attributes
attributes
defineds = None
visitor_class = None
get_attributes()
get_attribute(name)
get_scope()
get_doc() → str | None
get_ast()
type
get_type()
class rope.base.pyobjectsdef.StarImport(imported_module)
imported_module
get_names()