Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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)
414
class
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_Assign
Method · 0.85
visit_Expr
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected