Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ read_or_stop
Function
read_or_stop
tools/python-3.11.9-amd64/Lib/tokenize.py:323–327 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
321
encoding = None
322
default =
'utf-8'
323
def
read_or_stop():
324
try
:
325
return
readline()
326
except
StopIteration:
327
return
b
''
328
329
def
find_cookie(line):
330
try
:
Callers
1
detect_encoding
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected