Skip to main content
View Source on Github

Inherits from

Placeholder

Methods

edit

Edits the type annotation of a placeholder node.
View Source on Github

Parameters

new_src
required
The new type annotation text to be inserted.
fix_indentation
default:False
Whether to fix the indentation of the new source.
priority
default:0
Priority of the edit operation.
dedupe
default:True
Whether to remove duplicate edits.

Returns

remove

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

Returns