A unary operator that can be used in a :class:`UnaryOperation` expression.
| 266 | @add_slots |
| 267 | @dataclass(frozen=True) |
| 268 | class Plus(BaseUnaryOp): |
| 269 | """ |
| 270 | A unary operator that can be used in a :class:`UnaryOperation` |
| 271 | expression. |
| 272 | """ |
| 273 | |
| 274 | #: Any space that appears directly after this operator. |
| 275 | whitespace_after: BaseParenthesizableWhitespace = SimpleWhitespace.field("") |
| 276 | |
| 277 | def _get_token(self) -> str: |
| 278 | return "+" |
| 279 | |
| 280 | |
| 281 | @add_slots |
no test coverage detected
searching dependent graphs…