MCPcopy Create free account
hub / github.com/ActiveState/code / final

Function final

recipes/Python/440647_Smart_Links/recipe-440647.py:54–57  ·  view source on GitHub ↗
(index, links, key)

Source from the content-addressed store, hash-verified

52 return string [:-1]
53
54def final(index, links, key):
55 key = '<!--' + key + '-->'
56 index = index.replace(key, links)
57 return index
58
59def html(string):
60 print 'Content-type: text/html'

Callers 1

buildFunction · 0.70

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected