A unary operator that can be used in a :class:`UnaryOperation` expression.
| 311 | @add_slots |
| 312 | @dataclass(frozen=True) |
| 313 | class Not(BaseUnaryOp): |
| 314 | """ |
| 315 | A unary operator that can be used in a :class:`UnaryOperation` |
| 316 | expression. |
| 317 | """ |
| 318 | |
| 319 | #: Any space that appears directly after this operator. |
| 320 | whitespace_after: BaseParenthesizableWhitespace = SimpleWhitespace.field(" ") |
| 321 | |
| 322 | def _get_token(self) -> str: |
| 323 | return "not" |
| 324 | |
| 325 | |
| 326 | @add_slots |
no test coverage detected