Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EasyIME/PIME
/ safeSplit
Function
safeSplit
python/cinbase/flangs.py:50–58 ·
view source on GitHub ↗
(line)
Source
from the content-addressed store, hash-verified
48
49
50
def
safeSplit(line):
51
if
'='
in line:
52
return
line.split(
'='
, 1)
53
elif
' '
in line:
54
return
line.split(
' '
, 1)
55
elif
'\t'
in line:
56
return
line.split(
'\t'
, 1)
57
else
:
58
return
line, line
59
60
__all__ = [
"flangs"
]
Callers
1
__init__
Method · 0.70
Calls
1
split
Method · 0.80
Tested by
no test coverage detected