Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ __init__
Method
__init__
src/_pytest/mark/expression.py:75–77 ·
view source on GitHub ↗
(self, input: str)
Source
from the content-addressed store, hash-verified
73
__slots__ = (
"tokens"
,
"current"
)
74
75
def
__init__(self, input: str) -> None:
76
self.tokens = self.lex(input)
77
self.current = next(self.tokens)
78
79
def
lex(self, input: str) -> Iterator[Token]:
80
pos = 0
Callers
nothing calls this directly
Calls
1
lex
Method · 0.95
Tested by
no test coverage detected