Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ __getitem__
Method
__getitem__
src/_pytest/_code/code.py:382–383 ·
view source on GitHub ↗
(self, key: "SupportsIndex")
Source
from the content-addressed store, hash-verified
380
381
@overload
382
def
__getitem__(self, key:
"SupportsIndex"
) -> TracebackEntry:
383
...
384
385
@overload
386
def
__getitem__(self, key: slice) ->
"Traceback"
:
Callers
nothing calls this directly
Calls
1
__class__
Method · 0.45
Tested by
no test coverage detected