Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EasyIME/PIME
/ safeSplit
Function
safeSplit
python/cinbase/extendtable.py:40–46 ·
view source on GitHub ↗
(line)
Source
from the content-addressed store, hash-verified
38
39
40
def
safeSplit(line):
41
if
' '
in line:
42
return
line.split(
' '
, 1)
43
elif
'\t'
in line:
44
return
line.split(
'\t'
, 1)
45
else
:
46
return
line,
"Error"
47
48
__all__ = [
"extendtable"
]
Callers
1
__init__
Method · 0.70
Calls
1
split
Method · 0.80
Tested by
no test coverage detected