This Page

alhambra.End

class alhambra.End(*args, **kw)

A class representing a single end of some type, with or without a sequence.

Attributes:
comp

The complement end sequences of the End, as a string.

etype

The end type of the end.

fseq
name
seq

The end sequence (of just the end) of the End, as a string.

strength
use

Methods

merge(end2) Given ends end1 and end2, assuming they describe the same sticky end, merge them into a single end, combining information from each and enforcing that the two input ends consistently make a single output end.
__init__(*args, **kw)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(*args, **kw) Initialize self.
add_referent(cm)
add_yaml_merge(value)
clear()
copy()
copy_attributes(t[, memo])
fromkeys(/, iterable[, value]) Create a new ordered dictionary with keys from iterable and values set to value.
get(key[, default]) Return the value for key if key is in the dictionary, else default.
insert(pos, key, value[, comment]) insert key value into given position attach comment if provided
items()
keys()
merge(end2) Given ends end1 and end2, assuming they describe the same sticky end, merge them into a single end, combining information from each and enforcing that the two input ends consistently make a single output end.
mlget(key[, default, list_ok]) multi-level get that expects dicts within dicts
move_to_end(/, key[, last]) Move an existing element to the end (or beginning if last is false).
non_merged_items()
pop(k[,d]) value.
popitem(/[, last]) Remove and return a (key, value) pair from the dictionary.
setdefault(/, key[, default]) Insert key with a value of default if key is not in the dictionary.
update([E, ]**F) If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]
update_key_value(key)
values()
yaml_add_eol_comment(comment[, key, column]) there is a problem as eol comments should start with ‘ #’ (but at the beginning of the line the space doesn’t have to be before the #.
yaml_anchor()
yaml_end_comment_extend(comment[, clear])
yaml_key_comment_extend(key, comment[, clear])
yaml_set_anchor(value[, always_dump])
yaml_set_comment_before_after_key(key[, …]) expects comment (before/after) to be without # and possible have multiple lines
yaml_set_start_comment(comment[, indent]) overwrites any preceding comment lines on an object expects comment to be without # and possible have multiple lines
yaml_set_tag(value)
yaml_value_comment_extend(key, comment[, clear])

Attributes

anchor
ca
comp The complement end sequences of the End, as a string.
etype The end type of the end.
fa format attribute
fseq
lc
name
seq The end sequence (of just the end) of the End, as a string.
strength
tag
use