Get siblings of the node. Gets the whole group of siblings, including self.
(self: _NodeType)
| 140 | |
| 141 | @property |
| 142 | def siblings(self: _NodeType) -> Sequence[_NodeType]: |
| 143 | """Get siblings of the node. |
| 144 | |
| 145 | Gets the whole group of siblings, including self. |
| 146 | """ |
| 147 | if not self.parent: |
| 148 | return [self] |
| 149 | return self.parent.children |
| 150 | |
| 151 | @property |
| 152 | def type(self) -> str: |
nothing calls this directly
no outgoing calls
no test coverage detected