rope.base.oi.memorydb

Classes

MemoryDB

dict() -> new empty dictionary

FileInfo

dict() -> new empty dictionary

ScopeInfo

Module Contents

class rope.base.oi.memorydb.MemoryDB(project, persist=None)

Bases: rope.base.oi.objectdb.FileDict

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)

project
files
keys()

D.keys() -> a set-like object providing a view on D’s keys

create(path)
rename(file, newfile)
write()
property compress
property persist
class rope.base.oi.memorydb.FileInfo(scopes)

Bases: rope.base.oi.objectdb.FileInfo

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)

scopes
create_scope(key)
keys()

D.keys() -> a set-like object providing a view on D’s keys

class rope.base.oi.memorydb.ScopeInfo

Bases: rope.base.oi.objectdb.ScopeInfo

call_info
per_name
get_per_name(name)
save_per_name(name, value)
get_returned(parameters)
get_call_infos()
add_call(parameters, returned)