MCPcopy
hub / github.com/psf/black / OffsetAndMagic

Class OffsetAndMagic

src/black/handle_ipynb_magics.py:414–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412
413@dataclasses.dataclass(frozen=True)
414class OffsetAndMagic:
415 col_offset: int
416 magic: str
417
418
419# Unsurprisingly, subclassing ast.NodeVisitor means we can't use dataclasses here

Callers 2

visit_AssignMethod · 0.85
visit_ExprMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected