MCPcopy 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
17def has_key(x, y):
18 if hasattr(x, 'has_key'): return x.has_key(y)
19 else: return y in x
20
21try:
22 import htmlentitydefs

Callers 3

previousIndexMethod · 0.85
handle_tagMethod · 0.85
oMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected