Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ conv
Function
conv
Lib/test/test_calendar.py:1063–1064 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
1061
1062
1063
def
conv(s):
1064
return
s.replace(
'\n'
, os.linesep).encode()
1065
1066
class
CommandLineTestCase(unittest.TestCase):
1067
def
setUp(self):
Callers
15
__convert_to_ast_getitem
Method · 0.85
_get
Method · 0.85
_splitdict
Function · 0.85
test_output_current_year
Method · 0.85
test_output_year
Method · 0.85
test_output_month
Method · 0.85
test_option_lines
Method · 0.85
test_option_months
Method · 0.85
test_option_type
Method · 0.85
test_unused_param
Method · 0.85
test_list
Method · 0.85
checkParam
Method · 0.85
Calls
2
encode
Method · 0.45
replace
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…