View Source on Github

Methods

edit

Replaces the content of a placeholder node with new source code.
View Source on Github

Parameters

new_src
str
required
The new source code to replace the placeholder with.
fix_indentation
bool, optional
default:False
Whether to automatically fix the
priority
int, optional
default:0
Priority value for conflict resolution.
dedupe
bool, optional
default:True
Whether to prevent duplicate insertions.

Returns

None

remove

Removes this element from its parent container.
View Source on Github

Returns

None