MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / generate_tokens

Function generate_tokens

Lib/tokenize.py:264–419  ·  view source on GitHub ↗

The generate_tokens() generator requires one argment, readline, which must be a callable object which provides the same interface as the readline() method of built-in file objects. Each call to the function should return one line of input as a string. Alternately, readline can

(readline)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

tokenize_loopFunction · 0.70

Calls 5

rstripMethod · 0.80
endswithMethod · 0.80
matchMethod · 0.45
endMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected