Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aaronsw/html2text
/ has_key
Function
has_key
html2text.py:17–19 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
15
setattr(__builtins__,
'False'
, 0)
16
17
def
has_key(x, y):
18
if
hasattr(x,
'has_key'
):
return
x.has_key(y)
19
else
:
return
y in x
20
21
try
:
22
import
htmlentitydefs
Callers
3
previousIndex
Method · 0.85
handle_tag
Method · 0.85
o
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected