MCPcopy
hub / github.com/Instagram/LibCST / Plus

Class Plus

libcst/_nodes/op.py:268–278  ·  view source on GitHub ↗

A unary operator that can be used in a :class:`UnaryOperation` expression.

Source from the content-addressed store, hash-verified

266@add_slots
267@dataclass(frozen=True)
268class 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

Callers 1

convert_factorFunction · 0.90

Calls 1

fieldMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…